[ui] fix thumbnail for long images in image view

This commit is contained in:
Faris Ansari 2016-08-09 14:15:31 +05:30
parent b9376641af
commit d217387400
2 changed files with 6 additions and 4 deletions

View File

@ -46,9 +46,10 @@
line-height: 0; line-height: 0;
color: #d1d8dd; color: #d1d8dd;
font-size: 30px; font-size: 30px;
background-size: cover; background-size: contain;
border: 1px solid transparent; border: 1px solid transparent;
background-position: top center; background-position: center;
background-repeat: no-repeat;
} }
.pos-item-area { .pos-item-area {
border: 1px solid #d1d8dd; border: 1px solid #d1d8dd;

View File

@ -58,9 +58,10 @@
line-height: 0; line-height: 0;
color: @text-extra-muted; color: @text-extra-muted;
font-size: 30px; font-size: 30px;
background-size: cover; background-size: contain;
border: 1px solid transparent; border: 1px solid transparent;
background-position: top center; background-position: center;
background-repeat: no-repeat;
} }
.pos-item-area { .pos-item-area {