* 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 f8d2e20d5e
commit 08cbb3d96c
3 changed files with 3 additions and 4 deletions

View File

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

View File

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

View File

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