diff options
author | Andrew Dolgov <[email protected]> | 2019-03-12 10:23:21 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-03-12 10:23:21 +0300 |
commit | 166991749054991b19285e58508f4144cc993f2b (patch) | |
tree | 7947be2a6e874dfb69d0dcb712611ad5d272428c /css | |
parent | 51d521bed6bb4cf5f102c7a148281291eb40214f (diff) |
use flex for book grid instead of height hacks
Diffstat (limited to 'css')
-rw-r--r-- | css/index.css | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/css/index.css b/css/index.css index 0a8cdd4..92ef571 100644 --- a/css/index.css +++ b/css/index.css @@ -1,5 +1,10 @@ -.index_cell { - height : 270px; +.display-flex { + display: flex; + flex-wrap: wrap; +} + +.row > div { + padding-top : 10px; } .thumb img { @@ -46,4 +51,3 @@ ::-webkit-scrollbar-track { background-color: #eee; } - |