Skip to content

fix: float view switcher in card top-right corner - #122

Merged
Flotapponnier merged 1 commit into
mainfrom
fix/view-switcher-absolute-corner
May 23, 2026
Merged

fix: float view switcher in card top-right corner#122
Flotapponnier merged 1 commit into
mainfrom
fix/view-switcher-absolute-corner

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

User : le footer row sous le chart créait un creux visible (button seul à droite, le reste vide).

Fix : absolute positioning dans le corner top-right du card. Le bouton se cale dans le padding du card existant, le chart fill top-to-bottom, plus de row réservée, plus de gap.

User feedback: the bottom footer row I added for the view switcher
created a visible gap because the row reserved its own band and the
single button sat alone at the right edge with the rest of the row
empty.

Switch to absolute positioning in the card's top-right corner: the
button sits inside the existing card padding, the chart fills the
card top-to-bottom, no extra row reserved, no white gap. z-10 so the
popover stays above the chart geometry. Default downward popover
direction is fine again (room below the corner).
@Flotapponnier
Flotapponnier merged commit 8c2c54f into main May 23, 2026
@Flotapponnier
Flotapponnier deleted the fix/view-switcher-absolute-corner branch May 23, 2026 14:28
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.

1 participant