Skip to content

Commit 8fc3d5b

Browse files
authored
Fix some spacing regressions (hestiacp#2984)
1 parent 099aa47 commit 8fc3d5b

File tree

4 files changed

+33
-31
lines changed

4 files changed

+33
-31
lines changed

web/css/src/themes/default.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,8 @@ form#vstobjects .alert {
737737
font-size: 0.75rem;
738738
padding-left: 0;
739739
line-height: 14px;
740+
margin-top: 12px;
741+
margin-bottom: 12px;
740742
}
741743

742744
.l-stat__col li {
@@ -2415,7 +2417,7 @@ a.vst-text:active b {
24152417
appearance: none;
24162418
background-image: url(/images/arrow.png);
24172419
background-repeat: no-repeat;
2418-
background-position: right 8px center;
2420+
background-position: right 9px center;
24192421
text-shadow: 0 0 0 #4b4b4b;
24202422
box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
24212423
}
@@ -3649,7 +3651,7 @@ li[aria-expanded="true"] a {
36493651

36503652
.cron-helper-tabs .form-select {
36513653
display: inline-block;
3652-
width: 379px;
3654+
width: 384px;
36533655
}
36543656

36553657
.cron-helper-tabs .button {

web/css/themes/default.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/templates/pages/add_cron.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<input type="hidden" name="h_day" value="*">
3131
<input type="hidden" name="h_month" value="*">
3232
<input type="hidden" name="h_wday" value="*">
33-
<div>
33+
<div class="u-mt15 u-mb20">
3434
<label for="h_min_1" class="form-label first"><?=_('Run Command');?>:</label>
3535
<select class="form-select" name="h_min" id="h_min_1">
3636
<option value="*" selected="selected"><?=_('every minute');?></option>
@@ -41,7 +41,7 @@
4141
<option value="*/30"><?=_('every');?> 30</option>
4242
</select>
4343
</div>
44-
<div class="u-pt18">
44+
<div class="u-pt10">
4545
<input type="submit" value="<?=_('generate');?>" class="button">
4646
</div>
4747
</form>
@@ -52,7 +52,7 @@
5252
<input type="hidden" name="h_day" value="*">
5353
<input type="hidden" name="h_month" value="*">
5454
<input type="hidden" name="h_wday" value="*">
55-
<div class="u-mb10">
55+
<div class="u-mt15 u-mb10">
5656
<label for="h_hour_2" class="form-label first"><?=_('Run Command');?>:</label>
5757
<select class="form-select" name="h_hour" id="h_hour_2">
5858
<option value="*" selected="selected"><?=_('every hour');?></option>
@@ -61,7 +61,7 @@
6161
<option value="*/12"><?=_('every');?> 12</option>
6262
</select>
6363
</div>
64-
<div>
64+
<div class="u-mb20">
6565
<label for="h_min_2" class="form-label first"><?=_('Minute');?>:</label>
6666
<select class="form-select" name="h_min" id="h_min_2" style="width:70px;">
6767
<option value="0" selected="selected">00</option>
@@ -70,7 +70,7 @@
7070
<option value="45">45</option>
7171
</select>
7272
</div>
73-
<div class="u-pt18">
73+
<div class="u-pt10">
7474
<input type="submit" value="<?=_('generate');?>" class="button">
7575
</div>
7676
</form>
@@ -80,7 +80,7 @@
8080
<form>
8181
<input type="hidden" name="h_month" value="*">
8282
<input type="hidden" name="h_wday" value="*">
83-
<div class="u-mb10">
83+
<div class="u-mt15 u-mb10">
8484
<label for="h_day_3" class="form-label first"><?=_('Run Command');?>:</label>
8585
<select class="form-select" name="h_day" id="h_day_3">
8686
<option value="*" selected="selected"><?=_('every day');?></option>
@@ -92,7 +92,7 @@
9292
<option value="*/15"><?=_('every');?> 15</option>
9393
</select>
9494
</div>
95-
<div>
95+
<div class="u-mb20">
9696
<label for="h_hour_3" class="form-label first"><?=_('Hour');?>:</label>
9797
<select class="form-select" name="h_hour" id="h_hour_3" style="width:70px;">
9898
<option value="0">00</option>
@@ -138,7 +138,7 @@
138138
<option value="55">55</option>
139139
</select>
140140
</div>
141-
<div class="u-pt18">
141+
<div class="u-pt10">
142142
<input type="submit" value="<?=_('generate');?>" class="button">
143143
</div>
144144
</form>
@@ -148,7 +148,7 @@
148148
<form>
149149
<input type="hidden" name="h_month" value="*">
150150
<input type="hidden" name="h_day" value="*">
151-
<div class="u-mb10">
151+
<div class="u-mt15 u-mb10">
152152
<label for="h_wday_4" class="form-label first"><?=_('Run Command');?>:</label>
153153
<select class="form-select" name="h_wday" id="h_wday_4">
154154
<option value="*" selected="selected"><?=_('every day');?></option>
@@ -163,7 +163,7 @@
163163
<option value="0"><?=_('Sunday');?></option>
164164
</select>
165165
</div>
166-
<div>
166+
<div class="u-mb20">
167167
<label for="h_hour_4" class="form-label first"><?=_('Hour');?>:</label>
168168
<select class="form-select" name="h_hour" id="h_hour_4" style="width:70px;">
169169
<option value="0">00</option>
@@ -209,7 +209,7 @@
209209
<option value="55">55</option>
210210
</select>
211211
</div>
212-
<div class="u-pt18">
212+
<div class="u-pt10">
213213
<input type="submit" value="<?=_('generate');?>" class="button">
214214
</div>
215215
</form>
@@ -218,7 +218,7 @@
218218
<div id="tabs-5">
219219
<form>
220220
<input type="hidden" name="h_wday" value="*">
221-
<div class="u-mb10">
221+
<div class="u-mt15 u-mb10">
222222
<label for="h_month_5" class="form-label first"><?=_('Run Command');?>:</label>
223223
<select class="form-select" name="h_month" id="h_month_5">
224224
<option value="*" selected="selected"><?=_('every month');?></option>
@@ -240,7 +240,7 @@
240240
<option value="12"><?=_('Dec');?></option>
241241
</select>
242242
</div>
243-
<div>
243+
<div class="u-mb20">
244244
<label for="h_day_5" class="form-label first"><?=_('Date');?>:</label>
245245
<select class="form-select" name="h_day" id="h_day_5" style="width:70px;">
246246
<option value="1" selected="selected">1</option>
@@ -320,7 +320,7 @@
320320
<option value="55">55</option>
321321
</select>
322322
</div>
323-
<div class="u-pt18">
323+
<div class="u-pt10">
324324
<input type="submit" value="<?=_('generate');?>" class="button">
325325
</div>
326326
</form>

web/templates/pages/edit_cron.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<input type="hidden" name="h_day" value="*">
3131
<input type="hidden" name="h_month" value="*">
3232
<input type="hidden" name="h_wday" value="*">
33-
<div>
33+
<div class="u-mt15 u-mb20">
3434
<label for="h_min_1" class="form-label first"><?=_('Run Command');?>:</label>
3535
<select class="form-select" name="h_min" id="h_min_1">
3636
<option value="*" selected="selected"><?=_('every minute');?></option>
@@ -41,7 +41,7 @@
4141
<option value="*/30"><?=_('every');?> 30</option>
4242
</select>
4343
</div>
44-
<div class="u-pt18">
44+
<div class="u-pt10">
4545
<input type="submit" value="<?=_('generate');?>" class="button">
4646
</div>
4747
</form>
@@ -52,7 +52,7 @@
5252
<input type="hidden" name="h_day" value="*">
5353
<input type="hidden" name="h_month" value="*">
5454
<input type="hidden" name="h_wday" value="*">
55-
<div class="u-mb10">
55+
<div class="u-mt15 u-mb10">
5656
<label for="h_hour_2" class="form-label first"><?=_('Run Command');?>:</label>
5757
<select class="form-select" name="h_hour" id="h_hour_2">
5858
<option value="*" selected="selected"><?=_('every hour');?></option>
@@ -61,7 +61,7 @@
6161
<option value="*/12"><?=_('every');?> 12</option>
6262
</select>
6363
</div>
64-
<div>
64+
<div class="u-mb20">
6565
<label for="h_min_2" class="form-label first"><?=_('Minute');?>:</label>
6666
<select class="form-select" name="h_min" id="h_min_2" style="width:70px;">
6767
<option value="0" selected="selected">00</option>
@@ -70,7 +70,7 @@
7070
<option value="45">45</option>
7171
</select>
7272
</div>
73-
<div class="u-pt18">
73+
<div class="u-pt10">
7474
<input type="submit" value="<?=_('generate');?>" class="button">
7575
</div>
7676
</form>
@@ -80,7 +80,7 @@
8080
<form>
8181
<input type="hidden" name="h_month" value="*">
8282
<input type="hidden" name="h_wday" value="*">
83-
<div class="u-mb10">
83+
<div class="u-mt15 u-mb10">
8484
<label for="h_day_3" class="form-label first"><?=_('Run Command');?>:</label>
8585
<select class="form-select" name="h_day" id="h_day_3">
8686
<option value="*" selected="selected"><?=_('every day');?></option>
@@ -92,7 +92,7 @@
9292
<option value="*/15"><?=_('every');?> 15</option>
9393
</select>
9494
</div>
95-
<div>
95+
<div class="u-mb20">
9696
<label for="h_hour_3" class="form-label first"><?=_('Hour');?>:</label>
9797
<select class="form-select" name="h_hour" id="h_hour_3" style="width:70px;">
9898
<option value="0">00</option>
@@ -138,7 +138,7 @@
138138
<option value="55">55</option>
139139
</select>
140140
</div>
141-
<div class="u-pt18">
141+
<div class="u-pt10">
142142
<input type="submit" value="<?=_('generate');?>" class="button">
143143
</div>
144144
</form>
@@ -148,7 +148,7 @@
148148
<form>
149149
<input type="hidden" name="h_month" value="*">
150150
<input type="hidden" name="h_day" value="*">
151-
<div class="u-mb10">
151+
<div class="u-mt15 u-mb10">
152152
<label for="h_wday_4" class="form-label first"><?=_('Run Command');?>:</label>
153153
<select class="form-select" name="h_wday" id="h_wday_4">
154154
<option value="*" selected="selected"><?=_('every day');?></option>
@@ -163,7 +163,7 @@
163163
<option value="0"><?=_('Sunday');?></option>
164164
</select>
165165
</div>
166-
<div>
166+
<div class="u-mb20">
167167
<label for="h_hour_4" class="form-label first"><?=_('Hour');?>:</label>
168168
<select class="form-select" name="h_hour" id="h_hour_4" style="width:70px;">
169169
<option value="0">00</option>
@@ -209,7 +209,7 @@
209209
<option value="55">55</option>
210210
</select>
211211
</div>
212-
<div class="u-pt18">
212+
<div class="u-pt10">
213213
<input type="submit" value="<?=_('generate');?>" class="button">
214214
</div>
215215
</form>
@@ -218,7 +218,7 @@
218218
<div id="tabs-5">
219219
<form>
220220
<input type="hidden" name="h_wday" value="*">
221-
<div class="u-mb10">
221+
<div class="u-mt15 u-mb10">
222222
<label for="h_month_5" class="form-label first"><?=_('Run Command');?>:</label>
223223
<select class="form-select" name="h_month" id="h_month_5">
224224
<option value="*" selected="selected"><?=_('every month');?></option>
@@ -240,7 +240,7 @@
240240
<option value="12"><?=_('Dec');?></option>
241241
</select>
242242
</div>
243-
<div>
243+
<div class="u-mb20">
244244
<label for="h_day_5" class="form-label first"><?=_('Date');?>:</label>
245245
<select class="form-select" name="h_day" id="h_day_5" style="width:70px;">
246246
<option value="1" selected="selected">1</option>
@@ -320,7 +320,7 @@
320320
<option value="55">55</option>
321321
</select>
322322
</div>
323-
<div class="u-pt18">
323+
<div class="u-pt10">
324324
<input type="submit" value="<?=_('generate');?>" class="button">
325325
</div>
326326
</form>

0 commit comments

Comments
 (0)