From 9fc4c64a90e1d9457a6bef72617d0d13837b7186 Mon Sep 17 00:00:00 2001 From: hadi Date: Mon, 4 Dec 2023 10:31:05 +0100 Subject: [PATCH] Fix favorite button icon size for both in regular and mobile view --- api/js/etemplate/Et2Favorites/Et2Favorites.ts | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/api/js/etemplate/Et2Favorites/Et2Favorites.ts b/api/js/etemplate/Et2Favorites/Et2Favorites.ts index 3eccdb09c5..39ac77723c 100644 --- a/api/js/etemplate/Et2Favorites/Et2Favorites.ts +++ b/api/js/etemplate/Et2Favorites/Et2Favorites.ts @@ -56,16 +56,9 @@ export class Et2Favorites extends Et2DropdownButton implements et2_INextmatchHea } et2-image { - ${egwIsMobile() ? - css` - width: 6ex; - margin-top: 1.2ex; - ` : - css` - width: 20px; - margin-top: 4px; - ` - } + display: flex; + height: 100%; + width: ${egwIsMobile() ? css`4ex` : css`2ex`} } et2-image[src="trash"] {