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
0ea42f7d
Commit
0ea42f7d
authored
Jul 09, 2019
by
mfluharty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define modal first and last child border-radius
Use $modal-border-radius for all modal border radius definitions
parent
26f7e8a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
app/assets/stylesheets/framework/modal.scss
app/assets/stylesheets/framework/modal.scss
+11
-1
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+1
-0
No files found.
app/assets/stylesheets/framework/modal.scss
View file @
0ea42f7d
...
...
@@ -87,7 +87,17 @@ body.modal-open {
background-color
:
$black-transparent
;
.modal-content
{
border-radius
:
0
.25rem
;
border-radius
:
$modal-border-radius
;
*
:first-child
{
border-top-left-radius
:
$modal-border-radius
;
border-top-right-radius
:
$modal-border-radius
;
}
*
:last-child
{
border-bottom-left-radius
:
$modal-border-radius
;
border-bottom-right-radius
:
$modal-border-radius
;
}
}
@include
media-breakpoint-up
(
sm
)
{
...
...
app/assets/stylesheets/framework/variables.scss
View file @
0ea42f7d
...
...
@@ -807,6 +807,7 @@ Modals
*/
$modal-body-height
:
80px
;
$modal-border-color
:
#e9ecef
;
$modal-border-radius
:
0
.25rem
;
$priority-label-empty-state-width
:
114px
;
...
...
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