Skip to content

Commit 4158abb

Browse files
bazilinskyyclaude
andcommitted
add_video form: the video's length under the End time label, so its input lines up with the others
The "video: N s" hint beside the End time input took room from it in the flex row (255 px wide and 26 px further left than the other inputs, 307 px). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent c4a8bf5 commit 4158abb

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎templates/add_video.html‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
margin: 0; /* remove extra margin */
3434
overflow: hidden; /* prevent text overflow */
3535
}
36-
.hint { color: #666; font-size: 12px; margin-left: 6px; }
36+
.hint { color: #666; font-size: 12px; }
3737
.message {
3838
color: green;
3939
margin-top: 20px;
@@ -701,9 +701,8 @@ <h3>{{ message | safe }}</h3>
701701
</div>
702702

703703
<div class="form-group">
704-
<label for="end_time">End time (seconds):</label>
704+
<label for="end_time">End time (seconds):{% if video_length %}<br><span class="hint">video: {{ video_length }} s</span>{% endif %}</label>
705705
<input type="number" id="end_time" name="end_time" value="{{ end_time_input }}" required min="1" step="1"{% if video_length %} max="{{ video_length }}"{% endif %}>
706-
{% if video_length %}<span class="hint">video: {{ video_length }} s</span>{% endif %}
707706
</div>
708707

709708
<div class="form-group">

0 commit comments

Comments
 (0)