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

Desktop: Fixes #8726 - Rich Text editor toolbar doesn't show all buttons even when there's enough space #8754

Merged
merged 1 commit into from
Sep 10, 2023

Conversation

hubertfilho
Copy link
Contributor

I removed 2 CSS properties that was setting the width and min-width of the toolbar's button and it solved the problem. I'll try to explain what was happening. The default button's width is 35px and it was setting to 26px, I believe that TinyMCE was doing the calculation based on 35px and not 26px, so is like TinyMCE "thought" that the buttons were occupayin more space than they actually were.

To set the width of the toolbar's buttons correctly I think we need to Create a skin for TinyMCE. I prefer to finish this PR like this and if we decide to create a skin to change the width of the buttons we can open another PR.

@laurent22 laurent22 merged commit d461d89 into dev Sep 10, 2023
17 checks 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.

None yet

2 participants