Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2018-10-19 12:56:12 +0300
committerGeorge Tsiolis <tsiolis.g@gmail.com>2018-10-23 21:33:12 +0300
commit90a494eed2f1da8227a7e2668524fd19fa76a7ad (patch)
treeef8a06d6480f8ae2bb40d4bee56be5ae37c4e849 /app/views/layouts/_flash.html.haml
parentd25a8ed076aea797ad71cbfaf895cfab190bfcfd (diff)
Limit flash notice width on fixed and fluid layout
Diffstat (limited to 'app/views/layouts/_flash.html.haml')
-rw-r--r--app/views/layouts/_flash.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_flash.html.haml b/app/views/layouts/_flash.html.haml
index 8bd5708d490..2cdaa85bdaa 100644
--- a/app/views/layouts/_flash.html.haml
+++ b/app/views/layouts/_flash.html.haml
@@ -6,5 +6,5 @@
-# Don't show a flash message if the message is nil
- if value
%div{ class: "flash-#{key}" }
- %div{ class: "#{container_class} #{extra_flash_class}" }
+ %div{ class: "#{(container_class unless fluid_layout)} #{(extra_flash_class unless @no_container)} #{@content_class}" }
%span= value