From bb50850e3c243c376b7726630b2b571b11079e9c Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Thu, 24 Jan 2019 18:35:30 +0100 Subject: [PATCH] stylesheets: increase maximum width of fixed alerts --- app/assets/stylesheets/new_design/new_alert.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/new_design/new_alert.scss b/app/assets/stylesheets/new_design/new_alert.scss index acb0d6619..84d8e997e 100644 --- a/app/assets/stylesheets/new_design/new_alert.scss +++ b/app/assets/stylesheets/new_design/new_alert.scss @@ -25,8 +25,8 @@ .alert-fixed { position: fixed; left: 50%; - margin-left: -100px; - width: 200px; + transform: translate(-50%); + max-width: 700px; top: 10px; border-radius: 10px; // Ensure fixed flash messages are above `position: absolute` elements (like maps)