[fix] Stylepanel default spacing (#2036)

This PR fixes the uneven spacing around the style panel.

### Change Type

- [x] `patch` — Bug fix
This commit is contained in:
Steve Ruiz 2023-10-09 07:11:01 +01:00 committed by GitHub
parent 37f8a7a491
commit cfb007599a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -14578,7 +14578,7 @@
"text": "export interface TLUiContextMenuProps "
}
],
"fileUrlPath": "packages/tldraw/src/lib/ui/components/ContextMenu.tsx",
"fileUrlPath": "packages/tldraw/.tsbuild-api/lib/ui/components/ContextMenu.d.ts",
"releaseTag": "Public",
"name": "TLUiContextMenuProps",
"preserveMemberOrder": false,
@ -14601,6 +14601,7 @@
"text": ";"
}
],
"fileUrlPath": "packages/tldraw/src/lib/ui/components/ContextMenu.tsx",
"isReadonly": false,
"isOptional": false,
"releaseTag": "Public",

View file

@ -510,7 +510,7 @@
background-color: var(--color-panel);
height: fit-content;
max-height: 100%;
margin: var(--space-3) var(--space-2);
margin: var(--space-2) var(--space-2);
overflow: hidden;
touch-action: auto;
overscroll-behavior: none;