* Mobile theme: Fix avatar picture does not get the right aspect ratio in addressbook view/list

This commit is contained in:
Hadi Nategh 2017-01-31 17:57:15 +01:00
parent 2aabf9370f
commit 0f066574fc
3 changed files with 3 additions and 4 deletions

View File

@ -34,7 +34,7 @@
</vbox>
<vbox class="addressbookCol3">
<hbox class="avatar">
<image src="${row}[photo]" height= "62px"/>
<image src="${row}[photo]" height="auto" />
</hbox>
</vbox>
</row>

View File

@ -2202,7 +2202,6 @@ button[id="calendar-edit_button[delete]"]:active,
button[id="timesheet-edit_button[delete]"]:active,
button[id="displayToolbar-delete"]:active,
button.et2_button_delete:active {
background-image: url('../images/delete-hover.png') !important;
background-color: #e12500 !important;
/*.border_normal;*/
/*.box_shadow_standard_light;*/
@ -8129,7 +8128,7 @@ form[id^="tracker-"] .dialogHeadbar {
}
body .et2_mobile_view div.et2_hbox.avatar img {
width: 100px;
height: 100px;
height: auto;
}
body .et2_mobile_view .et2_tabbox {
padding-left: 8px;

View File

@ -1248,7 +1248,7 @@
margin: auto;
img {
width: 100px;
height: 100px;
height: auto;
}
}
.et2_tabbox {padding-left:8px;}