From 735fbd3abebf7beb584e5ba8e4ae8687311fdfb6 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Fri, 1 Dec 2017 22:39:24 -0700 Subject: [PATCH] Fix tile padding and margins to be nice and consistent --- lib/gencontent.php | 3 ++- static/css/content.css | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/gencontent.php b/lib/gencontent.php index d360a61..2e8e7d9 100644 --- a/lib/gencontent.php +++ b/lib/gencontent.php @@ -32,7 +32,7 @@ if (defined("EDIT_MODE") && EDIT_MODE == true) { } - get("page_sizes", ["sizewidth (width)", "sizeheight (height)"], ["sizeid" => $pubdata["page_size"]]); ?> +get("page_sizes", ["sizewidth (width)", "sizeheight (height)"], ["sizeid" => $pubdata["page_size"]]); ?> .pub-content { max-width: ; min-height: ; @@ -57,6 +57,7 @@ foreach ($tiles as $tile) { order: ; width: %; flex-basis: %; + flex: 0 0 calc(% - 10px); }