Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 5acb23e

Browse files
Core: Also unset moz-focus-inner border for input elements
This prevents 1px extra height of input buttons on Firefox
1 parent d1f456c commit 5acb23e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css/structure/jquery.mobile.core.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,8 @@ input.ui-button-inline,
327327
width: auto;
328328
}
329329
/* Firefox adds a 1px border in a button element. We negate this to make sure they have the same height as other buttons in controlgroups. */
330-
button.ui-button::-moz-focus-inner {
330+
button.ui-button::-moz-focus-inner,
331+
input.ui-button::-moz-focus-inner {
331332
border: 0;
332333
}
333334
button.ui-button-icon-only,

0 commit comments

Comments
 (0)