From ae7ad8b456aab0beed1f9a340e88c980c7abec85 Mon Sep 17 00:00:00 2001 From: Ilya Daynatovich Date: Wed, 2 Nov 2016 13:09:18 +0200 Subject: [PATCH] Adjusted notification width --- css/_toastr.scss | 6 +++--- css/_variables.scss | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/css/_toastr.scss b/css/_toastr.scss index 4da961c11..655665a22 100644 --- a/css/_toastr.scss +++ b/css/_toastr.scss @@ -7,7 +7,7 @@ * * Author: John Papa and Hans FjÀllemark * Project: https://github.com/CodeSeven/toastr - * + * * Last updated: October 13, 2016 */ @@ -77,7 +77,7 @@ padding: $notificationPadding; border: 1px solid lighten($notificationBackground, 10%); - @include border-radius($notificationBorderRadius); + @include border-radius($notificationBorderRadius); @include box-shadow(1px, 1px, 2px, rgba(0,0,0,0.3)); @include opacity($notificationOpacity); } @@ -101,6 +101,6 @@ } #toast-container .toast { - width: 200px; + width: $notificationWidth; margin: 0 0 8px; } \ No newline at end of file diff --git a/css/_variables.scss b/css/_variables.scss index 8d1d5d517..84bc37f97 100644 --- a/css/_variables.scss +++ b/css/_variables.scss @@ -84,6 +84,7 @@ $notificationLinkColor: $notificationColor; $notificationOpacity: 0.9; $notificationPadding: 15px 20px; $notificationBorderRadius: 4px; +$notificationWidth: 215px; /** * Misc.