Merge pull request #6034 from netchampfaris/ui-fixes

[ui] fix thumbnail for long images in image view frappe/erpnext#1939
This commit is contained in:
Rushabh Mehta 2016-08-10 14:24:58 +05:30 committed by GitHub
commit a56121a342
2 changed files with 6 additions and 4 deletions

View File

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

View File

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