Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
be1ba7d4
Commit
be1ba7d4
authored
Oct 30, 2015
by
Nick Stenning
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2699 from robertknight/gh2654-safari_search_expander
Fix search button not expanding search bar in Safari
parents
43f61596
b5c451a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
simple-search.scss
h/static/styles/simple-search.scss
+9
-1
No files found.
h/static/styles/simple-search.scss
View file @
be1ba7d4
...
...
@@ -32,7 +32,13 @@
padding
:
0px
;
width
:
100%
;
max-width
:
0px
;
// the search box expands when focused, via a change in the
// `max-width` property. In Safari, the <input> will not accept
// focus if `max-width` is set to 0px so we set it to
// a near-zero positive value instead.
// See GH #2654
max-width
:
0
.1px
;
transition
:
max-width
.3s
ease-out
,
padding-left
.3s
ease-out
;
&
:disabled
{
...
...
@@ -40,6 +46,8 @@
color
:
$gray-light
;
}
// expand the search input when focused (triggered by clicking
// on the search icon) or when `is-expanded` is applied
&
:focus
,
&
.is-expanded
{
max-width
:
$expanded-max-width
;
padding-left
:
6px
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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