From 32741781ba261b8ab851ed7975ea63ade51ed6a3 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 13 Oct 2022 15:54:40 +0200 Subject: [PATCH] Treat favorites in mobile view --- api/js/etemplate/Et2Favorites/Et2Favorites.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/js/etemplate/Et2Favorites/Et2Favorites.ts b/api/js/etemplate/Et2Favorites/Et2Favorites.ts index f931979423..362cef1458 100644 --- a/api/js/etemplate/Et2Favorites/Et2Favorites.ts +++ b/api/js/etemplate/Et2Favorites/Et2Favorites.ts @@ -55,9 +55,9 @@ export class Et2Favorites extends Et2DropdownButton implements et2_INextmatchHea min-width: 8ex; } et2-image { - height: 2ex; + height: ${egwIsMobile() ? 6 : 2}ex; padding: 0px; - margin-top: -13px; + margin-top: ${egwIsMobile() ? -6 : -13}px; vertical-align: middle; } et2-image[src="trash"] {