Skip to content

Commit d0e9cce

Browse files
committed
Minor restyling
1 parent c7d3381 commit d0e9cce

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

src/assets/css/admin.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
#ableplayer-settings form p {
1010
display: flex;
1111
align-items: center;
12-
gap: 10px;
12+
column-gap: 10px;
13+
flex-wrap: wrap;
1314
}
1415

1516
@media (max-width: 782px) {
@@ -184,6 +185,10 @@
184185
}
185186
}
186187

188+
.ableplayer-text-input label {
189+
flex-basis: 100%;
190+
}
191+
187192
.ableplayer-input-description {
188193
display: inline-flex;
189194
align-items: center;

src/inc/settings.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ function ableplayer_settings_form() {
353353
);
354354
?>
355355
</p>
356-
<p>
356+
<p class="ableplayer-text-input">
357357
<?php
358358
ableplayer_settings_field(
359359
array(
@@ -383,7 +383,7 @@ function ableplayer_settings_form() {
383383
'name' => 'disable_elements',
384384
'label' => __( 'Disable MediaElement JS.', 'ableplayer' ),
385385
'type' => 'checkbox-single',
386-
'note' => __( 'Recommended if using any of the replacement options.', 'ableplayer' ),
386+
'note' => __( 'Recommended if using any element replacement options.', 'ableplayer' ),
387387
)
388388
);
389389
?>
@@ -421,7 +421,7 @@ function ableplayer_settings_form() {
421421
);
422422
?>
423423
</p>
424-
<p>
424+
<p class="ableplayer-text-input">
425425
<?php
426426
ableplayer_settings_field(
427427
array(
@@ -436,7 +436,7 @@ function ableplayer_settings_form() {
436436
);
437437
?>
438438
</p>
439-
<p>
439+
<p class="ableplayer-text-input">
440440
<?php
441441
ableplayer_settings_field(
442442
array(
@@ -462,7 +462,7 @@ function ableplayer_settings_form() {
462462
);
463463
?>
464464
</p>
465-
<p>
465+
<p class="ableplayer-text-input">
466466
<?php
467467
ableplayer_settings_field(
468468
array(

0 commit comments

Comments
 (0)