Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
da43f97b
Commit
da43f97b
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
Override iOS search input's extra round corners
parent
c399bfb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
less/forms.less
+14
-0
less/forms.less
with
14 additions
and
0 deletions
+14
-0
less/forms.less
+
14
-
0
View file @
da43f97b
...
...
@@ -150,10 +150,24 @@ output {
}
}
// Search inputs in iOS
//
// This overrides the extra rounded corners on search inputs in iOS so that our
// `.form-control` class can properly style them. Note that this cannot simply
// be added to `.form-control` as it's not specific enough. For details, see
// https://github.com/twbs/bootstrap/issues/11586.
input[type="search"] {
-webkit-appearance: none;
}
// Special styles for iOS date input
//
// In Mobile Safari, date inputs require a pixel line-height that matches the
// given height of the input.
input[type="date"] {
line-height: @input-height-base;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment