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
ac9c3add
Commit
ac9c3add
authored
Jul 09, 2019
by
Jacques Erasmus
Committed by
Fatih Acet
Jul 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix toast spacing issues
Fixed the toast spacing issues
parent
ee1cffcf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
+11
-8
app/assets/stylesheets/components/toast.scss
app/assets/stylesheets/components/toast.scss
+6
-7
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+0
-1
changelogs/unreleased/64066-fix-uneven-click-areas.yml
changelogs/unreleased/64066-fix-uneven-click-areas.yml
+5
-0
No files found.
app/assets/stylesheets/components/toast.scss
View file @
ac9c3add
...
...
@@ -15,11 +15,15 @@
.toasted.gl-toast
{
border-radius
:
$border-radius-default
;
font-size
:
$gl-font-size
;
padding
:
$gl-padding-8
$gl-padding-24
;
padding
:
$gl-padding-8
$gl-padding
$gl-padding-8
$gl-padding
-24
;
margin-top
:
$toast-default-margin
;
line-height
:
$gl-line-height
;
background-color
:
rgba
(
$gray-900
,
$toast-background-opacity
);
span
{
padding-right
:
$gl-padding-8
;
}
@include
media-breakpoint-down
(
xs
)
{
.action
:first-of-type
{
// Ensures actions buttons are right aligned on mobile
...
...
@@ -29,19 +33,14 @@
.action
{
color
:
$blue-300
;
margin
:
0
0
0
$toast-
action-margin-left
;
margin
:
0
0
0
$toast-
default-margin
;
text-transform
:
none
;
font-size
:
$gl-font-size
;
&
:first-of-type
{
padding-right
:
0
;
}
}
.toast-close
{
font-size
:
$default-icon-size
;
margin-left
:
$toast-default-margin
;
padding-left
:
$gl-padding
;
}
}
}
...
...
app/assets/stylesheets/framework/variables.scss
View file @
ac9c3add
...
...
@@ -507,7 +507,6 @@ $toast-height: 48px;
$toast-max-width
:
586px
;
$toast-padding-right
:
42px
;
$toast-default-margin
:
8px
;
$toast-action-margin-left
:
16px
;
$toast-background-opacity
:
0
.95
;
/*
...
...
changelogs/unreleased/64066-fix-uneven-click-areas.yml
0 → 100644
View file @
ac9c3add
---
title
:
Fix spacing issues for toasts
merge_request
:
30345
author
:
type
:
fixed
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