Skip to content

Commit 94f3de0

Browse files
committed
fix don’t use padding in buttons/input elements to prevent issues when OS font size is overwritten
1 parent 92bda78 commit 94f3de0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-includes/css/buttons.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ TABLE OF CONTENTS:
4949
line-height: 1.538; /* 20px */
5050
min-height: 40px;
5151
margin: 0;
52-
padding: 10px 12px;
52+
padding: 0 12px;
5353
cursor: pointer;
5454
border-width: 1px;
5555
border-style: solid;
@@ -79,7 +79,7 @@ TABLE OF CONTENTS:
7979
.wp-core-ui .button-group.button-small .button {
8080
min-height: 26px;
8181
line-height: 1,636363; /* 18px */
82-
padding: 6px 8px;
82+
padding: 0 8px;
8383
font-size: 11px;
8484
}
8585

0 commit comments

Comments
 (0)