From 83f2109e40888de8f4e98663b2c95ff0ae7b04c6 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 21 Jun 2016 17:05:29 +0200 Subject: [PATCH] Mobile template: - Fix resources view template - Add general avatar class for view mode --- pixelegg/mobile/fw_mobile.css | 10 ++++ pixelegg/mobile/fw_mobile.less | 10 ++++ resources/templates/mobile/view.xet | 73 ++--------------------------- 3 files changed, 23 insertions(+), 70 deletions(-) diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index 42927dabee..1adb7eea81 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -8024,6 +8024,16 @@ form[id^="tracker-"] .dialogHeadbar { body .et2_mobile_view table.et2_grid tr td { padding: 10px 5px 10px 0; } + body .et2_mobile_view div.et2_hbox.avatar { + width: 100px; + display: block; + height: 100px; + margin: auto; + } + body .et2_mobile_view div.et2_hbox.avatar img { + width: 100px; + height: 100px; + } body .mobile-view-editBtn { position: fixed; top: 2px; diff --git a/pixelegg/mobile/fw_mobile.less b/pixelegg/mobile/fw_mobile.less index e1b8d740b2..ad7905a998 100644 --- a/pixelegg/mobile/fw_mobile.less +++ b/pixelegg/mobile/fw_mobile.less @@ -1164,6 +1164,16 @@ } } } + div.et2_hbox.avatar { + width: 100px; + display: block; + height: 100px; + margin: auto; + img { + width: 100px; + height: 100px; + } + } } .mobile-view-editBtn { position: fixed; diff --git a/resources/templates/mobile/view.xet b/resources/templates/mobile/view.xet index b44511f6fc..69e3d520cb 100644 --- a/resources/templates/mobile/view.xet +++ b/resources/templates/mobile/view.xet @@ -2,72 +2,8 @@ -