about summary refs log tree commit diff stats
path: root/css
diff options
context:
space:
mode:
authorAndrew Dolgov <noreply@fakecake.org>2019-03-12 10:23:21 +0300
committerAndrew Dolgov <noreply@fakecake.org>2019-03-12 10:23:21 +0300
commit166991749054991b19285e58508f4144cc993f2b (patch)
tree7947be2a6e874dfb69d0dcb712611ad5d272428c /css
parent51d521bed6bb4cf5f102c7a148281291eb40214f (diff)
downloadthe-epube-166991749054991b19285e58508f4144cc993f2b.tar.gz
the-epube-166991749054991b19285e58508f4144cc993f2b.tar.xz
use flex for book grid instead of height hacks
Diffstat (limited to 'css')
-rw-r--r--css/index.css10
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;
 }
-