mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix border sizing
This commit is contained in:
parent
4027a5b245
commit
0d60253de7
2 changed files with 4 additions and 2 deletions
|
@ -927,7 +927,7 @@ class App extends React.Component<AppProps, AppState> {
|
|||
<div
|
||||
className="excalidraw__embeddable__outer"
|
||||
style={{
|
||||
padding: `${el.strokeWidth}px`,
|
||||
padding: `${el.strokeWidth/el.scale[0]}px`,
|
||||
}}
|
||||
>
|
||||
{this.props.renderEmbeddable?.(el, this.state) ?? (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue