Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix underline text-decorations on results pages #2130

Merged

Conversation

richardebeling
Copy link
Member

fixes #2115

As described in the issue, both the bootstrap selector that adds text-decoration: underline and our selector that removes it are equally selective.

The current code fixes this by also making our selector require :hover, thus making it more selective. Possibly downside: We don't set text-decoration: none for not hovered anchors anymore (but that isn't a problem with firefox and chrome in my tests?)

As an alternative, we could also use !important -- I was just hesitant about this.
Maybe we instead want to have text-decoration: none for both selectors, with and without :hover. I couldn't get scss to generate that, though (I have no idea what I'm doing)

Copy link
Member

@janno42 janno42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good :)

@richardebeling richardebeling merged commit c9474b9 into e-valuation:main Mar 4, 2024
12 checks passed
@richardebeling richardebeling deleted the anchor-underline-fix branch March 4, 2024 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Remove underlines from results evaluation lines
2 participants