Skip to content

Commit

Permalink
Reduce spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster committed Nov 22, 2023
1 parent 495a29f commit c2c80e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/components/src/dropdown-menu-v2-ariakit/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ const ANIMATION_PARAMS = {
EASING: 'cubic-bezier( 0.16, 1, 0.3, 1 )',
};

const CONTENT_WRAPPER_PADDING = space( 2 );
const CONTENT_WRAPPER_PADDING = space( 1 );
const ITEM_PADDING_BLOCK = space( 2 );
const ITEM_PADDING_INLINE = space( 3 );
const ITEM_PADDING_INLINE = space( 2 );

// TODO:
// - those values are different from saved variables?
Expand Down Expand Up @@ -86,7 +86,7 @@ export const DropdownMenu = styled( Ariakit.Menu )<
padding: ${ CONTENT_WRAPPER_PADDING };
background-color: ${ COLORS.ui.background };
border-radius: ${ CONFIG.radiusBlockUi };
border-radius: ${ space( 1 ) };
${ ( props ) => css`
box-shadow: ${ props.variant === 'toolbar'
? TOOLBAR_VARIANT_BOX_SHADOW
Expand Down

0 comments on commit c2c80e6

Please sign in to comment.