EuiButton has underline text decoration when hovered #4728
-
I don't want to create an issue regarding this one but since I cannot create a question in Discussions part, I created the ticket, my apologies. When visiting ElasticUI docs page and go over Button component, I noticed that when button is hovered, a text-decoration: underline style is set. This is also visible on Cards component. My questions are:
I currently use this solution which overrides the current styling of the button
Again, my apologies if this is not the proper channel for my query. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @jeepers3327 👋🏽, I converted your issue into a discussion and I'll try to investigate further why you can't open a discussion in the first place. Answering your questions:
|
Beta Was this translation helpful? Give feedback.
Hi @jeepers3327 👋🏽,
I converted your issue into a discussion and I'll try to investigate further why you can't open a discussion in the first place.
Answering your questions:
transform
andtext-decoration
from a design and a11y perspective will make the buttons just rely on the background color to show that they are interactive. If you're using the Amsterdam theme, there's no change in the background color when hovering. So the button won't seem interactive. I would recommend leaving those styles, but it is your decision. 🙂