From c3c13da0b249ac37c2f34d14f65f6b4ca281b4e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Tue, 27 Aug 2019 12:55:05 +0200 Subject: [PATCH] Revert "Remove "!important" to allow some styles to override it (e.g. row highlighting in column)" This reverts commit 72163472dee22eff2610167dd0e47c3209f26a8f. --- app/helpers/colors_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/colors_helper.rb b/app/helpers/colors_helper.rb index 01d0600f2f..9a5ff67e94 100644 --- a/app/helpers/colors_helper.rb +++ b/app/helpers/colors_helper.rb @@ -94,7 +94,7 @@ module ColorsHelper styles = color.color_styles - background_style = styles.map { |k,v| "#{k}:#{v}"}.join(';') + background_style = styles.map { |k,v| "#{k}:#{v} !important"}.join(';') border_color = color.bright? ? '#555555' : color.hexcode if name === 'type'