diff options
| author | Jesse Morgan <jesse@jesterpm.net> | 2018-08-19 16:15:16 -0700 | 
|---|---|---|
| committer | Jesse Morgan <jesse@jesterpm.net> | 2018-08-19 16:15:16 -0700 | 
| commit | a93abe6cebde2fb37a49700f7861b400a0bb4f59 (patch) | |
| tree | d6dcb9d73d130c8cee42c85c0a7e001795f00ee9 | |
| parent | 39cf3a42bebbc3eaeb9317e9079412f6eed5e441 (diff) | |
Make design responsive
| -rw-r--r-- | src/App.css | 11 | ||||
| -rw-r--r-- | src/SearchResults.css | 12 | 
2 files changed, 23 insertions, 0 deletions
| diff --git a/src/App.css b/src/App.css index 986f62e..5d32cc6 100644 --- a/src/App.css +++ b/src/App.css @@ -13,6 +13,17 @@    margin-left: 220px;  } +@media only screen and (max-width: 768px) { +  .left { +    width: 100%; +    float: none +  } + +  .right { +    margin-left: 0; +  } +} +  .clear {    clear: both;  } diff --git a/src/SearchResults.css b/src/SearchResults.css index 194c731..ae05e10 100644 --- a/src/SearchResults.css +++ b/src/SearchResults.css @@ -52,3 +52,15 @@  .label {    font-weight: bold;  } + +@media only screen and (max-width: 768px) { +  .Result .image { +    float: none; +    width: 100%; +  } + +  .Result .details, .Result h3 { +    margin-left: 0; +  } +} + | 
