diff options
author | Corey Hulen <corey@hulen.com> | 2015-08-02 08:58:33 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-08-02 08:58:33 -0800 |
commit | 41f96636d6a92f622518271f9ea7dd66c8c84e47 (patch) | |
tree | b9462b5385b505a0220a1df47e5efe64fd2d84d0 /web/sass-files/sass/partials/_files.scss | |
parent | 810c527fcbf5a9b4e32fe94e3ea00e20bddc020a (diff) | |
parent | dad78514234029791ff02c9a0efd2cbacdac5280 (diff) | |
download | chat-41f96636d6a92f622518271f9ea7dd66c8c84e47.tar.gz chat-41f96636d6a92f622518271f9ea7dd66c8c84e47.tar.bz2 chat-41f96636d6a92f622518271f9ea7dd66c8c84e47.zip |
Merge pull request #274 from mattermost/mm-1497
MM-1497 image thumbnails now scale appropriately so there is no whitespace
Diffstat (limited to 'web/sass-files/sass/partials/_files.scss')
-rw-r--r-- | web/sass-files/sass/partials/_files.scss | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/web/sass-files/sass/partials/_files.scss b/web/sass-files/sass/partials/_files.scss index ea7548267..ddc5e98bb 100644 --- a/web/sass-files/sass/partials/_files.scss +++ b/web/sass-files/sass/partials/_files.scss @@ -129,7 +129,12 @@ height: 100%; background-color: #FFF; background-repeat: no-repeat; - background-position: top left; + &.small { + background-position: center; + } + &.normal { + background-position: top left; + } } .post-image__thumbnail { width: 50%; |