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

Selector .px-3 matches unintended section #127

Closed
1 task done
aemogie opened this issue Jul 23, 2023 · 0 comments · Fixed by #128
Closed
1 task done

Selector .px-3 matches unintended section #127

aemogie opened this issue Jul 23, 2023 · 0 comments · Fixed by #128
Labels
chatgpt ChatGPT

Comments

@aemogie
Copy link
Contributor

aemogie commented Jul 23, 2023

Is there an existing issue outlining your problem?

  • I have searched the existing issues and they do not solve my problem.

What userstyles are you seeing the problem on?

lbl:chatgpt

Describe your problem.

The selector .px-3 matches unintended (i think) sections as well, specifically the bar at the bottom. (Check first image)

.px-3 {
background: @mantle !important;
}

It's :hover also matches unintended sections which aren't clickable. (Check second image)

.px-3:hover {
background: @base !important;
}

I messed around a bit and fixed it on my end using

    .px-3.py-3,
    .pt-3 {
      background: @mantle !important;
    }

    .px-3.py-3:hover {
      background: @base !important;
    }

Don't know if this code is good or should be changed, never dont userstyles before. .px-3.py-3 only matched the conversations, while .pt-3 only matched the date seperators.

Attach screenshots.

Image 1: All elements matching .px-3 includes the bottom bar.
image

Image 2: :hover matching date seperators which aren't clickable.
image

What browser(s) are you seeing the problem on?

Firefox v116.0b8

Any additional comments?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chatgpt ChatGPT
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant