Skip to content

fix: correct animation panel icon sizing in presentation editor#68

Closed
moodyjmz wants to merge 0 commit into
mainfrom
fix/presentation-click-offset
Closed

fix: correct animation panel icon sizing in presentation editor#68
moodyjmz wants to merge 0 commit into
mainfrom
fix/presentation-click-offset

Conversation

@moodyjmz
Copy link
Copy Markdown
Member

Animation effect icons in the presentation editor were rendering at 300px wide, causing click targets to be offset from their visual position.

Issue: <svg class="icon uni-scale"> has no dimensions — the .icon:not(svg) rule in combo-dataview.less explicitly excludes SVG elements from the icon size constraint, so the SVG defaulted to the browser's 300px intrinsic width.

Fix: Use explicit width="28" height="28" SVG attributes in Animation.js and AnimationDialog.js, matching the viewBox="0 0 28 28" of the animation symbols. No CSS class is used, which also avoids fill: currentColor overriding the icons' explicit colours.

🤖 Generated with Claude Code

@moodyjmz moodyjmz self-assigned this May 27, 2026
@moodyjmz moodyjmz closed this May 27, 2026
@moodyjmz moodyjmz force-pushed the fix/presentation-click-offset branch from e68710a to 64e9f5d Compare May 27, 2026 11:37
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