Do some better-looking field alignment

pull/237/head
ElementalAlchemist 3 years ago committed by Mike Lang
parent 811424ef7d
commit 97a668f909

@ -110,22 +110,16 @@
<div id="video-info-editor-notes-header">Editor Notes:</div> <div id="video-info-editor-notes-header">Editor Notes:</div>
<div id="video-info-editor-notes"></div> <div id="video-info-editor-notes"></div>
</div> </div>
<div>
<label for="video-info-title">Title:</label> <label for="video-info-title">Title:</label>
<div id="video-info-title-full"> <div id="video-info-title-full">
<span id="video-info-title-prefix"></span> <span id="video-info-title-prefix"></span>
<input type="text" id="video-info-title" /> <input type="text" id="video-info-title" />
</div> </div>
</div>
<div id="video-info-description-entry">
<label for="video-info-description">Description:</label> <label for="video-info-description">Description:</label>
<textarea id="video-info-description"></textarea> <textarea id="video-info-description"></textarea>
</div>
<div>
<label for="video-info-tags">Tags (comma-separated):</label> <label for="video-info-tags">Tags (comma-separated):</label>
<input type="text" id="video-info-tags" /> <input type="text" id="video-info-tags" />
</div> </div>
</div>
<div id="submission"> <div id="submission">
<div id="submission-toolbar"> <div id="submission-toolbar">

@ -158,8 +158,18 @@ a,
margin-top: 2px; margin-top: 2px;
} }
#video-info > div { #video-info {
margin: 5px 0; 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 { #video-info-title-full {
@ -172,21 +182,6 @@ a,
flex-grow: 1; 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 { .submission-response-error {
white-space: pre-wrap; white-space: pre-wrap;
} }

Loading…
Cancel
Save