Skip to content

fix(ui): resolve dropdown transparency issue in code block menu#9535

Open
ZAKIURREHMAN wants to merge 2 commits intoTriliumNext:mainfrom
ZAKIURREHMAN:dropdown/menu-transprancy
Open

fix(ui): resolve dropdown transparency issue in code block menu#9535
ZAKIURREHMAN wants to merge 2 commits intoTriliumNext:mainfrom
ZAKIURREHMAN:dropdown/menu-transprancy

Conversation

@ZAKIURREHMAN
Copy link
Copy Markdown
Contributor

@ZAKIURREHMAN ZAKIURREHMAN commented Apr 22, 2026

Resolve dropdown transparency issue in code block menu #9534

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Apr 22, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the CSS for the code block toolbar in CKEditor 5 to ensure dropdown panels have a white background. Feedback indicates that the new selectors are too broad and the use of !important may cause UI regressions in other components. Additionally, it is recommended to use theme-specific CSS variables instead of hardcoded hex colors to maintain consistency across different themes.

Comment thread packages/ckeditor5/src/theme/code_block_toolbar.css Outdated
Comment thread packages/ckeditor5/src/theme/code_block_toolbar.css Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant