diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-07-07 04:16:04 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-07-07 04:16:04 +0500 |
commit | 98bdaa04f53c432a62fc56d392255d27ae1bf35c (patch) | |
tree | 2612b823f135e04056570d4cb68280c50aafccb9 /web | |
parent | 047e7145bbcd473871ceb7e0a13cc6076576c7f4 (diff) | |
download | chat-98bdaa04f53c432a62fc56d392255d27ae1bf35c.tar.gz chat-98bdaa04f53c432a62fc56d392255d27ae1bf35c.tar.bz2 chat-98bdaa04f53c432a62fc56d392255d27ae1bf35c.zip |
Files img files
Diffstat (limited to 'web')
-rw-r--r-- | web/sass-files/sass/partials/_files.scss | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/web/sass-files/sass/partials/_files.scss b/web/sass-files/sass/partials/_files.scss index b01d2e157..16881e81c 100644 --- a/web/sass-files/sass/partials/_files.scss +++ b/web/sass-files/sass/partials/_files.scss @@ -13,6 +13,7 @@ vertical-align: top; position: relative; border: 1px solid #DDD; + @include clearfix; &.custom-file { width: 85px; height: 100px; @@ -31,8 +32,9 @@ } } .preview-img { - width:100%; - height:100%; + height: auto; + max-width: 100%; + max-height } .remove-preview { position: absolute; @@ -136,6 +138,7 @@ border: 1px solid #E2E2E2; background-color: #FFF; background-repeat: no-repeat; + background-position: left center; } a { text-decoration: none; |