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

text overlap #206

Closed
ghost opened this issue Dec 9, 2022 · 7 comments
Closed

text overlap #206

ghost opened this issue Dec 9, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Dec 9, 2022

Hey Just a heads up, with the static width I'm getting some overlap, so I'm just throwing a small adjustment in my project
image

.jse-group-button {
	@apply !w-auto !px-1;
}
@ghost
Copy link
Author

ghost commented Dec 9, 2022

Here is after, not a big deal at all
image

@josdejong
Copy link
Owner

Thanks Luke for your input. How can I reproduce this issue? Does your project have specific CSS causing this issue?

@ghost
Copy link
Author

ghost commented Dec 12, 2022 via email

@josdejong
Copy link
Owner

Ah ok, We we can make the library more robust that would be nice.

Is it possible to write fix with a CSS rule that does not use framework specific variables like w-auto and px-1?

@ghost
Copy link
Author

ghost commented Dec 12, 2022 via email

@josdejong josdejong added the bug Something isn't working label Dec 13, 2022
@josdejong
Copy link
Owner

Ahh, now I see I gave the buttons a fixed width of 40px for some reason, that should indeed be auto. Fixed via 8e0cda3.

The editor uses a configurable padding (defaulting to 10px) in many places. It would be interesting to see if we can make the padding relative to the font size in more places, but better to address that in a separate refactoring.

@josdejong
Copy link
Owner

Fixed now in v0.11.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant