diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 4bd1b805831..c9fe2725b60 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -3002,8 +3002,9 @@ span.widthpictotitle.pictotitle { /* padding-right: 0; */ } img.pictofixedwidth { - width: 18px; /* Do not use em unit here */ - padding-right: 2px; + width: 16px; /* Do not use em unit here */ + padding-right: 6px; /* width of img + padding-right must be equal to width of .pictofixedwidth */ + margin-right: 4px; } .colorthumb { diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index fc30efb840c..c11a3180a97 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -3064,12 +3064,13 @@ img.hideonsmartphone.pictoactionview { .pictofixedwidth { text-align: start; - width: 22px; /* do not use em unit here */ + width: 22px; /* Do not use em unit here */ /* padding-right: 0; */ } img.pictofixedwidth { - width: 18px; /* Do not use em unit here */ - padding-right: 2px; + width: 16px; /* Do not use em unit here */ + padding-right: 6px; /* width of img + padding-right must be equal to width of .pictofixedwidth */ + margin-right: 4px; } .colorthumb {