diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-07-07 15:51:03 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-07-07 15:51:03 -0400 |
commit | 66e97a56b0814b7c2378e9c7b4603d1c6408d330 (patch) | |
tree | 0f19b1b083a329bc48c9ec76c010505f24a23cc8 /web/sass-files/sass/partials/_files.scss | |
parent | 2be660f05dc895cb0378b06891a7e775fe4a44d9 (diff) | |
parent | 37fbd62a7c47261f1d922844faaa2c96cce5f0d6 (diff) | |
download | chat-66e97a56b0814b7c2378e9c7b4603d1c6408d330.tar.gz chat-66e97a56b0814b7c2378e9c7b4603d1c6408d330.tar.bz2 chat-66e97a56b0814b7c2378e9c7b4603d1c6408d330.zip |
Merge pull request #142 from asaadmahmoodspin/master
Minor UI upgrades
Diffstat (limited to 'web/sass-files/sass/partials/_files.scss')
-rw-r--r-- | web/sass-files/sass/partials/_files.scss | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/web/sass-files/sass/partials/_files.scss b/web/sass-files/sass/partials/_files.scss index b01d2e157..1268d8a07 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,8 @@ } } .preview-img { - width:100%; - height:100%; + height: auto; + max-width: 100%; } .remove-preview { position: absolute; @@ -136,6 +137,7 @@ border: 1px solid #E2E2E2; background-color: #FFF; background-repeat: no-repeat; + background-position: left center; } a { text-decoration: none; |