summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--css/index.css10
-rw-r--r--index.php2
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;
}
-
diff --git a/index.php b/index.php
index a1b2794..f6541a8 100644
--- a/index.php
+++ b/index.php
@@ -223,7 +223,7 @@
$sth->execute([':limit' => $limit, ':offset' => $offset, ':query' => '%' . $query . '%']);
- print "<div class='row'>";
+ print "<div class='row display-flex'>";
$rows = 0;