From 104859af47910e4ad555308d62ea2c52b92a5ce4 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Fri, 19 Jan 2018 12:42:30 +0530 Subject: [PATCH] FIX: prevent nesting abuse --- app/assets/stylesheets/common/base/discourse.scss | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/common/base/discourse.scss b/app/assets/stylesheets/common/base/discourse.scss index 7c798d7a2bf..200730af0e3 100644 --- a/app/assets/stylesheets/common/base/discourse.scss +++ b/app/assets/stylesheets/common/base/discourse.scss @@ -46,15 +46,14 @@ body { @include clearfix; } +// setting a static limit on big and small prevents nesting abuse big { - font-size: $font-up-5; + font-size: 32px; } - small { - font-size: $font-down-2; + font-size: 12px; } -//setting a static limit on big and small prevents nesting abuse blockquote { @include post-aside; clear: both; @@ -210,13 +209,13 @@ textarea { border: 1px solid $primary-medium; &:focus { border-color: $tertiary; - box-shadow: $tertiary 0px 0px 6px 0px; + box-shadow: $tertiary 0px 0px 6px 0px; outline: 0; } } select { - border: 1px solid $primary-low; + border: 1px solid $primary-low; } // Common Classes