Skip to content

Commit 5c3cc43

Browse files
committed
Fixed more CSS/Glitches
- Vertical alignment of the BBcode toolbar - placed missing label elements in config panel for consistent alignment
1 parent fec3875 commit 5c3cc43

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

admin/panels/config/admin.config.tpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<dd><input type="text" name="email" id="email" class="textinput {$class}"
5252
value="{$flatpress.email}" /></dd>
5353

54-
<dt> {$panelstrings.notifications} </dt>
54+
<dt><label> {$panelstrings.notifications} </label></dt>
5555
<dd>
5656
<label for="notify">
5757
<input type="checkbox" name="notify" id="notify"{if $flatpress.NOTIFY}checked="checked"{/if} />
@@ -91,7 +91,7 @@
9191
<h2> {$panelstrings.intsetts} </h2>
9292

9393
<dl class="option-list">
94-
<dt> {$panelstrings.utctime} </dt>
94+
<dt><label> {$panelstrings.utctime} </label></dt>
9595
{assign var=temp_time value="%b %d %Y %H:%M:%S"}
9696
<dd> <code> {"r"|date:$smarty.now} </code> </dd>
9797

fp-interface/themes/leggero/leggero-v2/res/admin.css

+11-3
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,21 @@ input#subject {
183183
padding-left: 1em
184184
}
185185

186-
#admin-bbcode-toolbar p { display: inline }
186+
#admin-bbcode-toolbar {
187+
display: table
188+
}
187189

188-
#admin-bbcode-toolbar p img,
189-
#admin-bbcode-toolbar select {
190+
#admin-bbcode-toolbar p {
191+
display: table-cell;
192+
vertical-align: middle;
193+
line-height: 1em
194+
}
195+
196+
#admin-bbcode-toolbar p img {
190197
vertical-align: middle
191198
}
192199

200+
193201
#admin-bbcode-toolbar select { width: 10em }
194202

195203
#admin-content table { width: 100% }

0 commit comments

Comments
 (0)