diff --git a/app/assets/stylesheets/desktop/topic.scss b/app/assets/stylesheets/desktop/topic.scss index e095a7af5d8..714adb08d92 100644 --- a/app/assets/stylesheets/desktop/topic.scss +++ b/app/assets/stylesheets/desktop/topic.scss @@ -266,6 +266,7 @@ sub,sup{ } sup{top:-0.5em; } sub{bottom:-0.25em; } +sup sup, sub sup, sup sub, sub sub { top: 0; } figure{margin:0; } fieldset{ border:1px solid scale-color-diff(); diff --git a/app/assets/stylesheets/mobile/topic.scss b/app/assets/stylesheets/mobile/topic.scss index 57d79cfa952..33c613cd9fb 100644 --- a/app/assets/stylesheets/mobile/topic.scss +++ b/app/assets/stylesheets/mobile/topic.scss @@ -171,3 +171,5 @@ .heatmap-high {color: scale-color($danger, $lightness: -25%) !important;} .heatmap-med {color: $danger !important;} .heatmap-low {color: scale-color($danger, $lightness: 25%) !important;} + +sup sup, sub sup, sup sub, sub sub { top: 0; } diff --git a/spec/models/screened_email_spec.rb b/spec/models/screened_email_spec.rb index 240e8d57aff..5e946e9c89a 100644 --- a/spec/models/screened_email_spec.rb +++ b/spec/models/screened_email_spec.rb @@ -60,7 +60,7 @@ describe ScreenedEmail do ScreenedEmail.should_block?(email).should be_true end - it "returns true when there is a record with a simiral email" do + it "returns true when there is a record with a similar email" do ScreenedEmail.should_block?(email).should be_false ScreenedEmail.create(email: similar_email).save ScreenedEmail.should_block?(email).should be_true