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

Prevent message overflow #2189

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

marcustyphoon
Copy link

It's currently possible to wind up in a situation where an XKit message is so tall that it can't be dismissed, which I discovered while switching branches in development (effectively simulating a downgrade from a hypothetical MV3 version, if you're curious). This adds some CSS to make the message scroll if it's too tall.

(Scroll bars not shown in the screenshot, as I'm on a Mac with a trackpad where by default they're only shown when scrolling, but I can confirm they do appear/scrolling does work).

before after

@marcustyphoon marcustyphoon requested a review from hobinjk January 11, 2025 02:13
xkit.css Outdated Show resolved Hide resolved
Co-Authored-By: James Hobin <[email protected]>
@marcustyphoon marcustyphoon requested a review from hobinjk January 13, 2025 16:32
@marcustyphoon marcustyphoon merged commit 2a79c6a into new-xkit:master Jan 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants