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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
8c56dcfc
Commit
8c56dcfc
authored
Mar 02, 2021
by
Alper Akgun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor trials.scss into a select2 override
parent
e8043280
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
16 deletions
+16
-16
app/assets/stylesheets/_page_specific_files.scss
app/assets/stylesheets/_page_specific_files.scss
+0
-1
app/assets/stylesheets/lazy_bundles/select2_overrides.scss
app/assets/stylesheets/lazy_bundles/select2_overrides.scss
+16
-0
app/assets/stylesheets/pages/trials.scss
app/assets/stylesheets/pages/trials.scss
+0
-15
No files found.
app/assets/stylesheets/_page_specific_files.scss
View file @
8c56dcfc
...
...
@@ -35,5 +35,4 @@
@import
'./pages/sherlock'
;
@import
'./pages/storage_quota'
;
@import
'./pages/tree'
;
@import
'./pages/trials'
;
@import
'./pages/users'
;
app/assets/stylesheets/lazy_bundles/select2_overrides.scss
View file @
8c56dcfc
...
...
@@ -339,3 +339,19 @@
display
:
inline
;
}
}
.gl-select2-html5-required-fix
{
.select2-container
{
+
.select2
{
@include
gl-opacity-0
;
@include
gl-border-0
;
@include
gl-bg-none
;
@include
gl-bg-transparent
;
display
:
block
!
important
;
width
:
1px
;
height
:
1px
;
z-index
:
-1
;
margin
:
-3px
auto
0
;
}
}
}
app/assets/stylesheets/pages/trials.scss
deleted
100644 → 0
View file @
e8043280
/*
* A CSS cross-browser fix for Select2 failire to display HTML5 required warnings
* MR link https://gitlab.com/gitlab-org/gitlab/-/merge_requests/22716
*/
.gl-select2-html5-required-fix
div
.select2-container
+
select
.select2
{
@include
gl-opacity-0
;
@include
gl-border-0
;
@include
gl-bg-none
;
@include
gl-bg-transparent
;
display
:
block
!
important
;
width
:
1px
;
height
:
1px
;
z-index
:
-1
;
margin
:
-3px
auto
0
;
}
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