mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-01 01:21:49 +02:00
Use the same font on the button as on the field itself
This commit is contained in:
@@ -575,7 +575,15 @@ legend {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
// 1. Change font properties to `inherit` in Safari.
|
||||
|
||||
// Inherit font family and line height for file input buttons
|
||||
|
||||
// stylelint-disable-next-line selector-pseudo-element-no-unknown
|
||||
::file-selector-button {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
// 1. Change font properties to `inherit`
|
||||
// 2. Correct the inability to style clickable types in iOS and Safari.
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
|
Reference in New Issue
Block a user