From 97a668f90903a2ffb7ac9ebc67c225d41546311b Mon Sep 17 00:00:00 2001 From: ElementalAlchemist Date: Sat, 16 Oct 2021 16:39:14 -0500 Subject: [PATCH] Do some better-looking field alignment --- thrimbletrimmer/edit.html | 22 +++++++----------- thrimbletrimmer/styles/thrimbletrimmer.css | 27 +++++++++------------- 2 files changed, 19 insertions(+), 30 deletions(-) diff --git a/thrimbletrimmer/edit.html b/thrimbletrimmer/edit.html index 47bbcd2..27d007f 100644 --- a/thrimbletrimmer/edit.html +++ b/thrimbletrimmer/edit.html @@ -110,21 +110,15 @@
Editor Notes:
-
- -
- - -
-
-
- - -
-
- - + +
+ +
+ + + +
diff --git a/thrimbletrimmer/styles/thrimbletrimmer.css b/thrimbletrimmer/styles/thrimbletrimmer.css index 496ee04..dc3426c 100644 --- a/thrimbletrimmer/styles/thrimbletrimmer.css +++ b/thrimbletrimmer/styles/thrimbletrimmer.css @@ -158,8 +158,18 @@ a, margin-top: 2px; } -#video-info > div { +#video-info { margin: 5px 0; + display: grid; + grid-template-columns: 175px 1fr; + grid-template-rows: 1fr 1.25em 3em 1.25em; + gap: 2px; +} + +#video-info-editor-notes-container { + border: 1px solid #666; + background-color: #bde; + grid-column-end: span 2; } #video-info-title-full { @@ -172,21 +182,6 @@ a, flex-grow: 1; } -#video-info-description-entry { - display: flex; - align-items: flex-start; - gap: 5px; -} - -#video-info-description { - flex-grow: 1; -} - -#video-info-editor-notes-container { - border: 1px solid #666; - background-color: #bde; -} - .submission-response-error { white-space: pre-wrap; }