Skip to content

Commit faadc6f

Browse files
CSS Vertical align button text inside first td
1 parent 0f79b56 commit faadc6f

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

assets/themes/FlatSIS/css/stylesheet.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,8 @@ table.valign-middle td {
11841184

11851185
/* Vertical align button inside first td, use when row has input (list with fields) */
11861186

1187-
.list.has-input:not(.valign-middle) > tbody > tr > td:first-child .button {
1187+
.list.has-input:not(.valign-middle) > tbody > tr > td:first-child .button,
1188+
.list.has-input:not(.valign-middle) > tbody > tr > td:first-child .button + b {
11881189
padding-top: 8px
11891190
}
11901191

@@ -1647,6 +1648,7 @@ a .button + b {
16471648
font-weight: normal;
16481649
text-transform: uppercase;
16491650
font-size: 14px;
1651+
vertical-align: middle;
16501652
}
16511653

16521654
/* Tooltip */

assets/themes/FlatSIS/stylesheet.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.

assets/themes/FlatSIS/stylesheet_wkhtmltopdf.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.

assets/themes/WPadmin/css/stylesheet.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,8 @@ table.valign-middle td {
10951095

10961096
/* Vertical align button inside first td, use when row has input (list with fields) */
10971097

1098-
.list.has-input:not(.valign-middle) > tbody > tr > td:first-child .button {
1098+
.list.has-input:not(.valign-middle) > tbody > tr > td:first-child .button,
1099+
.list.has-input:not(.valign-middle) > tbody > tr > td:first-child .button + b {
10991100
padding-top: 6px
11001101
}
11011102

@@ -1537,6 +1538,7 @@ a .button + b {
15371538
font-weight: normal;
15381539
text-transform: uppercase;
15391540
font-size: 13px;
1541+
vertical-align: middle;
15401542
}
15411543

15421544
/* Tooltip */

assets/themes/WPadmin/stylesheet.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.

assets/themes/WPadmin/stylesheet_wkhtmltopdf.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.

0 commit comments

Comments
 (0)