Skip to content

refactor(map): use relative units for si-map controls#2019

Open
spliffone wants to merge 1 commit intomainfrom
feat/map-relative-sizing
Open

refactor(map): use relative units for si-map controls#2019
spliffone wants to merge 1 commit intomainfrom
feat/map-relative-sizing

Conversation

@spliffone
Copy link
Copy Markdown
Member

@spliffone spliffone commented May 6, 2026

@spliffone spliffone requested review from a team as code owners May 6, 2026 14:12
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 refactors the si-map component's SCSS by converting button dimensions from pixels to rems and utilizing the calc() function for layout properties. Feedback was provided regarding a potential layout shift and the importance of using calc() when mixing units for proper browser resolution.

Comment thread projects/maps-ng/src/components/si-map/si-map.component.scss
@spliffone spliffone added this to the 49.x milestone May 6, 2026
Comment thread projects/maps-ng/src/components/si-map/si-map.component.scss Outdated
Comment thread projects/maps-ng/src/components/si-map/si-map.component.scss Outdated
@spliffone spliffone force-pushed the feat/map-relative-sizing branch 2 times, most recently from dae0428 to 8dd93b6 Compare May 7, 2026 05:17
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

⬇️ Download VRTs

@spliffone spliffone force-pushed the feat/map-relative-sizing branch 2 times, most recently from 7fb327b to fadd066 Compare May 7, 2026 06:52
@spliffone spliffone force-pushed the feat/map-relative-sizing branch from 840f3f0 to 40f1521 Compare May 7, 2026 08:16
@spliffone
Copy link
Copy Markdown
Member Author

@dr-itz Are we certain we want to shrink the button icons?

@dr-itz
Copy link
Copy Markdown
Member

dr-itz commented May 7, 2026

@dr-itz Are we certain we want to shrink the button icons?

@panch1739 For map controls, what should icon size be? The 1.25rem/20px we have everywhere now or do we stay at 1.5rem/24px?

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