Skip to content

Fixing corner radius clip due to different radius#38

Open
NickeManarin wants to merge 1 commit into
microsoft:mainfrom
NickeManarin:main
Open

Fixing corner radius clip due to different radius#38
NickeManarin wants to merge 1 commit into
microsoft:mainfrom
NickeManarin:main

Conversation

@NickeManarin
Copy link
Copy Markdown

Style-defined corner radius doesn't match SVG radius, so it ends up clipping the corners.

image image

How it was:

//Style
border-radius: 8px;
//SVG
<rect ... rx="4.5" ... />

@NickeManarin
Copy link
Copy Markdown
Author

With fix:

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.

1 participant