Skip to content

Commit 49f0101

Browse files
committed
Improve form layout
1 parent 64062ee commit 49f0101

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h2>Musicians' Helper - Repeater</h2>
3636
<div class="col-md-6 col-sm-12">
3737
<form>
3838
<div class="form-group row">
39-
<label class="col-md-4 col-form-label" for="chords-file">Chords File (.srt)</label>
39+
<label class="col-md-4 col-form-label" for="chords-file">Chords File <span class="text-muted">(.srt)</span></label>
4040
<div class="col-md-8">
4141
<div class="custom-file">
4242
<input type="file" class="custom-file-input" id="chords-file">
@@ -144,7 +144,7 @@ <h2>Musicians' Helper - Editor</h2>
144144
<div class="col-md-8 offset-md-2">
145145
<form>
146146
<div class="form-group row">
147-
<label class="col-md-4 col-form-label" for="chords-file-editor">Chords File (.srt)</label>
147+
<label class="col-md-4 col-form-label" for="chords-file-editor">Chords File <span class="text-muted">(.srt)</span></label>
148148
<div class="col-md-8">
149149
<div class="custom-file">
150150
<input type="file" class="custom-file-input" id="chords-file-editor">

styles.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,15 @@
113113
top: 0;
114114
z-index: 1030;
115115
}
116+
117+
form {
118+
padding: 20px;
119+
border: 1px solid #ccc;
120+
border-radius: 8px;
121+
background-color: #f9f9f9;
122+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
123+
}
124+
125+
.form-group:last-child {
126+
margin-bottom: 0;
127+
}

0 commit comments

Comments
 (0)