From f56c73816e4881f845de7d83d298603c4833ad7a Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 4 Nov 2020 10:56:07 +0100 Subject: [PATCH] Fix styling of CRV view's close button --- addressbook/templates/default/app.css | 10 ++++++++-- addressbook/templates/default/view.xet | 2 +- addressbook/templates/pixelegg/app.css | 16 +++++++++++++++- addressbook/templates/pixelegg/app.less | 7 +++++++ 4 files changed, 31 insertions(+), 4 deletions(-) diff --git a/addressbook/templates/default/app.css b/addressbook/templates/default/app.css index 0e1cb43c56..9da0565ba2 100644 --- a/addressbook/templates/default/app.css +++ b/addressbook/templates/default/app.css @@ -21,13 +21,19 @@ td.addressbook_sidebox_toolbar { height: 32px; } -div#addressbook_view_sidebox img.photo { +.addressbook_view_sidebox img.photo { width: 68px; padding-right: 3px; height: auto; vertical-align: bottom; } - +div.addressbook_view_sidebox button[id$='_button[close]'] { + vertical-align: middle; +} +div.addressbook_view_sidebox img[id$='_button[delete]'] { + float: right; + margin-top: 7px; +} /** * new addressbook.edit */ diff --git a/addressbook/templates/default/view.xet b/addressbook/templates/default/view.xet index 5cf7b2c9d1..e458d3b40c 100644 --- a/addressbook/templates/default/view.xet +++ b/addressbook/templates/default/view.xet @@ -54,7 +54,7 @@