From f95259c337e0f636d401ac54adf1ac397ad45ad0 Mon Sep 17 00:00:00 2001 From: Vadim Costin Date: Wed, 24 Jun 2015 15:29:37 +0300 Subject: [PATCH] add a button in alert message --- app/assets/stylesheets/content/_notifications.lsg | 1 + app/assets/stylesheets/content/_notifications.sass | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/content/_notifications.lsg b/app/assets/stylesheets/content/_notifications.lsg index b0979e6bbf..c0f9ee2d6d 100644 --- a/app/assets/stylesheets/content/_notifications.lsg +++ b/app/assets/stylesheets/content/_notifications.lsg @@ -21,6 +21,7 @@
  • Fact 2: You really made a mistake
  • Fact 3: You should fix it
  • + ``` diff --git a/app/assets/stylesheets/content/_notifications.sass b/app/assets/stylesheets/content/_notifications.sass index 9a6a8b6cf2..0098c9f571 100644 --- a/app/assets/stylesheets/content/_notifications.sass +++ b/app/assets/stylesheets/content/_notifications.sass @@ -73,12 +73,15 @@ $nm-color-warning-background: #f4f4aa font-size: $nm-font-size position: relative word-wrap: break-word - + + & .button + margin: rem-calc(10px 10px 0 0) + //@hack adapting to provided styles //messy I dont have all the details for a magic resolve, this might change & p, & ul margin-bottom: 0 - & p, & ul>li + & p, & ul>li, & .button font-size: $nm-font-size &.-error