Skip to content

EuiButton has underline text decoration when hovered #4728

Closed Answered by miukimiu
jeepers3327 asked this question in Q&A
Discussion options

You must be logged in to vote

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:

  • Yes, it is the default behavior.
  • The only way to disable this behavior is to override the CSS like the way you're doing. But removing both the transform and text-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. 🙂

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jeepers3327
Comment options

Answer selected by jeepers3327
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4725 on April 19, 2021 12:31.