From 5dbec4ec08632c59e1c3a726e0c5f75ce93334ca Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Tue, 15 Nov 2022 17:18:12 -0800 Subject: [PATCH] Fix the photo-params table: remove the erroneous padding at the bottom --- assets/styles/photos.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/assets/styles/photos.css b/assets/styles/photos.css index 59d7dbc..26f2381 100644 --- a/assets/styles/photos.css +++ b/assets/styles/photos.css @@ -90,7 +90,7 @@ width: 100%; } -.photo-params .container { +.photo-params > .container { display: block; background-color: var(--photo-params-container-background-color); border-radius: 10px; @@ -99,28 +99,29 @@ width: 66%; } -.photo-params table { +.photo-params > .container > table { background-color: var(--photo-params-background-color); color: var(--photo-params-color); border-collapse: collapse; border-radius: 6px; + margin: 0; table-layout: fixed; text-align: center; width: 100%; } -.photo-params thead td { +.photo-params table > thead > tr > td { border-bottom: 1px solid var(--photo-params-border-color); font-size: 80%; font-weight: bold; } -.photo-params tr.exposure-attributes td { +.photo-params tr.exposure-attributes > td { border-top: 1px solid var(--photo-params-border-color); border-left: 1px solid var(--photo-params-border-color); } -.photo-params tr.exposure-attributes td:first-child { +.photo-params tr.exposure-attributes > td:first-child { border-left: none; }