Skip to content

Commit

Permalink
Tweak small button size variant
Browse files Browse the repository at this point in the history
  • Loading branch information
kudlajz committed Jul 16, 2024
1 parent bb1789e commit 9afc17c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
}

&--small {
padding: $spacing-half $spacing-1;
padding: $spacing-half;

.icon-wrapper {
width: $spacing-1-5;
Expand Down
8 changes: 7 additions & 1 deletion packages/slate-editor/src/components/Toolbox/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ export function Header(props: React.PropsWithChildren<HeaderProps>) {
<Caption withFullOpacity>{props.children}</Caption>

{props.withCloseButton && (
<Button variant="clear" icon={Cross} onClick={props.onCloseClick} round />
<Button
variant="clear"
icon={Cross}
onClick={props.onCloseClick}
round
size="small"
/>
)}
</div>
);
Expand Down

0 comments on commit 9afc17c

Please sign in to comment.