Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
45d7083d
Commit
45d7083d
authored
Nov 29, 2017
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix padding for Select2 search field
parent
4ab1a1bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
app/assets/stylesheets/framework/selects.scss
app/assets/stylesheets/framework/selects.scss
+13
-5
No files found.
app/assets/stylesheets/framework/selects.scss
View file @
45d7083d
...
@@ -134,19 +134,22 @@
...
@@ -134,19 +134,22 @@
}
}
.select2-search
{
.select2-search
{
padding
:
15px
15px
5px
;
padding
:
$grid-size
;
.select2-drop-auto-width
&
{
.select2-drop-auto-width
&
{
padding
:
15px
15px
5px
;
padding
:
$grid-size
;
}
}
input
{
input
{
padding
:
2px
25px
2px
5px
;
padding
:
$grid-size
;
background
:
$white-light
image-url
(
'select2.png'
);
background
:
$white-light
image-url
(
'select2.png'
);
background-clip
:
content-box
;
background-origin
:
content-box
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-position
:
right
0
bottom
6px
;
background-position
:
right
0
bottom
0
!
important
;
border
:
1px
solid
$input-border
;
border
:
1px
solid
$input-border
;
border-radius
:
$border-radius-default
;
border-radius
:
$border-radius-default
;
line-height
:
16px
;
transition
:
border-color
ease-in-out
0
.15s
,
box-shadow
ease-in-out
0
.15s
;
transition
:
border-color
ease-in-out
0
.15s
,
box-shadow
ease-in-out
0
.15s
;
&
:focus
{
&
:focus
{
...
@@ -156,11 +159,16 @@
...
@@ -156,11 +159,16 @@
&
.select2-active
{
&
.select2-active
{
background-color
:
$white-light
;
background-color
:
$white-light
;
background-image
:
image-url
(
'select2-spinner.gif'
)
!
important
;
background-image
:
image-url
(
'select2-spinner.gif'
)
!
important
;
background-origin
:
content-box
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-position
:
right
5
px
center
!
important
;
background-position
:
right
6
px
center
!
important
;
background-size
:
16px
16px
!
important
;
background-size
:
16px
16px
!
important
;
}
}
}
}
+
.select2-results
{
padding-top
:
0
;
}
}
}
.select2-results
{
.select2-results
{
...
...
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