Commit ac9c3add authored by Jacques Erasmus's avatar Jacques Erasmus Committed by Fatih Acet

Fix toast spacing issues

Fixed the toast spacing issues
parent ee1cffcf
......@@ -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;
}
}
}
......
......@@ -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;
/*
......
---
title: Fix spacing issues for toasts
merge_request: 30345
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment