diff options
-rw-r--r-- | css/index.css | 10 | ||||
-rw-r--r-- | index.php | 2 |
2 files changed, 8 insertions, 4 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; } - @@ -223,7 +223,7 @@ $sth->execute([':limit' => $limit, ':offset' => $offset, ':query' => '%' . $query . '%']); - print "<div class='row'>"; + print "<div class='row display-flex'>"; $rows = 0; |