Skip to content

Conversation

@dauriamarco
Copy link
Member

Updates the icon size of collapsible-panel to 24px.


@dauriamarco dauriamarco added this to the 49.x milestone Feb 11, 2026
@dauriamarco dauriamarco self-assigned this Feb 11, 2026
Copy link
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 icon sizes in collapsible-panel and side-panel for consistency, changing them to 24px. The changes involve updating CSS classes from icon to icon-lg in the relevant HTML templates and making a minor layout adjustment. A security audit identified a Medium severity Cross-Site Scripting (XSS) vulnerability related to the si-icon component's use of a dangerous innerHTML binding, and the reviewed files pass potentially untrusted data to it. Although this PR did not introduce the underlying flaw, its modifications to code using this component increase the importance of addressing this security concern.

@github-actions
Copy link

Code Coverage

@github-actions
Copy link

@panch1739
Copy link
Member

@spike-rabbit @dauriamarco im not sure we should put this in 24px...i guess that you are doing it because the vertical nav has 24px...but, in the case of the side panel it looks odd. Im not sure, @hbxes WDYT?

Copy link
Member Author

Choose a reason for hiding this comment

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

@panch1739 @hbxes @spike-rabbit continuing the conversation here: I don’t necessarily prefer larger icons in general, but when navbar-vertical and side-panel are shown in the same layout (see screenshots), the size difference is noticeable. Using different icon sizes makes spacing and alignment feel slightly inconsistent.

To me, it feels more coherent if both components use the same sizing and spacing, either small in both cases or large in both, rather than mixing the two. But the final call is yours 👌

With the same size:

Image

With different sizes:

Image

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