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
8c74b212
Commit
8c74b212
authored
May 27, 2020
by
Lyza Danger Gardner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust CSS to render toast messages on full-width layouts
parent
4b8196b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
toast-messages.scss
src/styles/sidebar/components/toast-messages.scss
+14
-2
No files found.
src/styles/sidebar/components/toast-messages.scss
View file @
8c74b212
@use
"../../mixins/panel"
;
@use
"../../mixins/panel"
;
@use
"../mixins/responsive"
;
@use
"../../variables"
as
var
;
@use
"../../variables"
as
var
;
.toast-messages
{
.toast-messages
{
position
:
absolute
;
position
:
absolute
;
z-index
:
1
;
z-index
:
1
;
width
:
100%
;
left
:
0
;
left
:
0
;
padding
:
0
8px
;
width
:
100%
;
padding
:
0
0
.5em
;
@include
responsive
.
tablet-and-up
{
// When displaying in a wider viewport (desktop/tablet outside of sidebar)
max-width
:
responsive
.
$break-tablet
;
width
:
responsive
.
$break-tablet
;
padding-left
:
2rem
;
padding-right
:
2rem
;
left
:
50%
;
margin-left
:
calc
(
-0
.5
*
#{
responsive
.
$break-tablet
}
);
}
}
}
.toast-message-container
{
.toast-message-container
{
...
@@ -70,6 +81,7 @@
...
@@ -70,6 +81,7 @@
&
__message
{
&
__message
{
padding
:
1em
;
padding
:
1em
;
width
:
100%
;
}
}
&
__link
{
&
__link
{
...
...
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