diff --git a/app/assets/stylesheets/specific/notes.css.scss b/app/assets/stylesheets/specific/notes.css.scss index 17edc4d17..9e08bd833 100644 --- a/app/assets/stylesheets/specific/notes.css.scss +++ b/app/assets/stylesheets/specific/notes.css.scss @@ -14,7 +14,7 @@ div#note-container { z-index: 1500; overflow: auto; - h1, h2, h3, h4, h5, h6, a, span, div, blockquote, br, p, ul, li, ol, em, strong, small, big, b, i, font, u, s { + h1, h2, h3, h4, h5, h6, a, span, div, blockquote, br, p, ul, li, ol, em, strong, small, big, b, i, font, u, s, code, center { line-height: normal; } diff --git a/app/models/upload.rb b/app/models/upload.rb index 421768fda..ce9b7d2fb 100644 --- a/app/models/upload.rb +++ b/app/models/upload.rb @@ -179,11 +179,13 @@ class Upload < ActiveRecord::Base def add_dimension_tags! if image_width >= 10_000 || image_height >= 10_000 - self.tag_string = "#{tag_string} insanely_absurdres".strip + self.tag_string = "#{tag_string} incredibly_absurdres".strip elsif image_width >= 3200 || image_height >= 2400 self.tag_string = "#{tag_string} absurdres".strip - elsif image_width >= 1600 && image_height >= 1200 + elsif image_width >= 1600 || image_height >= 1200 self.tag_string = "#{tag_string} highres".strip + elsif image_width <= 500 && image_height <= 500 + self.tag_string = "#{tag_string} lowres".strip end end