diff options
| author | Nicolas Gallagher <[email protected]> | 2012-01-19 21:02:00 +0000 |
|---|---|---|
| committer | Nicolas Gallagher <[email protected]> | 2012-01-19 22:27:24 +0000 |
| commit | 8825443d6e6ff28a97e092f46b42ec508e58cb05 (patch) | |
| tree | 5b582c7ca699649956fa35eb050ac98f003a2174 /bootstrap.css | |
| parent | 25ac318d33329a0fb532d5f9ec922ad76d791959 (diff) | |
| download | bootstrap-8825443d6e6ff28a97e092f46b42ec508e58cb05.tar.xz bootstrap-8825443d6e6ff28a97e092f46b42ec508e58cb05.zip | |
Remove search input cancel button in WebKit-OSX.
On input elements with a `type` of `search`, WebKit on OS X will
display a cancel button after text has been entered. This can
look ugly or be poorly position when you've added other styles to
the input (especially additional padding).
Diffstat (limited to 'bootstrap.css')
| -rw-r--r-- | bootstrap.css | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap.css b/bootstrap.css index 4dcf33955..959eb2421 100644 --- a/bootstrap.css +++ b/bootstrap.css @@ -6,7 +6,7 @@ * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. - * Date: Thu 19 Jan 2012 20:33:11 GMT + * Date: Thu 19 Jan 2012 22:27:04 GMT */ html, body { margin: 0; @@ -163,7 +163,7 @@ input[type="search"] { -moz-box-sizing: content-box; box-sizing: content-box; } -input[type="search"]::-webkit-search-decoration { +input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; } textarea { |
