mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-24 06:03:10 +02:00
Merge pull request #18816 from twbs/fix-17308
Switch to actually-Safari-specific CSS hack for iOS temporal input fix
This commit is contained in:
@@ -396,6 +396,7 @@ linters:
|
|||||||
SelectorFormat:
|
SelectorFormat:
|
||||||
enabled: true
|
enabled: true
|
||||||
convention: hyphenated_lowercase # or 'BEM', or 'snake_case', or 'camel_case', or a regex pattern
|
convention: hyphenated_lowercase # or 'BEM', or 'snake_case', or 'camel_case', or a regex pattern
|
||||||
|
ignored_types: ["element"]
|
||||||
|
|
||||||
Shorthand:
|
Shorthand:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@@ -92,7 +92,9 @@
|
|||||||
//
|
//
|
||||||
// Note that as of 8.3, iOS doesn't support `week`.
|
// Note that as of 8.3, iOS doesn't support `week`.
|
||||||
|
|
||||||
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
// SCSS-Lint exemption until https://github.com/brigade/scss-lint/pull/672 gets merged
|
||||||
|
// scss-lint:disable PseudoElement
|
||||||
|
_::-webkit-full-page-media, // Hack to make this CSS be Safari-only; see http://browserbu.gs/css-hacks/webkit-full-page-media/
|
||||||
input[type="date"],
|
input[type="date"],
|
||||||
input[type="time"],
|
input[type="time"],
|
||||||
input[type="datetime-local"],
|
input[type="datetime-local"],
|
||||||
@@ -111,7 +113,7 @@
|
|||||||
line-height: $input-height-lg;
|
line-height: $input-height-lg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
// scss-lint:enable PseudoElement
|
||||||
|
|
||||||
|
|
||||||
// Static form control text
|
// Static form control text
|
||||||
|
Reference in New Issue
Block a user