eufemia icon indicating copy to clipboard operation
eufemia copied to clipboard

chore: improve home button on small devices

Open langz opened this issue 8 months ago • 5 comments

I guess the code/styling in this PR could be made better. The reason for me going with the current approach(hiding/showing two different home buttons based on screen size) is because of the existing approach(as of today) does not work, because a "icon button with hidden text(display:none) still styles/acts as it is text there, as the node is still rendered". Resulting in the "strange icon" we see today in the "From example", and this:

Screenshot 2024-06-06 at 15 01 36

From: Screenshot 2024-06-06 at 14 37 11

To:

image

langz avatar Jun 06 '24 13:06 langz