Skip to content

Commit aaa76de

Browse files
committed
fix: update PERSISTENT_ITEM_HEIGHT calculation for consistent layout
1 parent e336efc commit aaa76de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/molecules/Select/Select.styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { Chip } from 'src/molecules/Chip/Chip';
1111
import styled, { css } from 'styled-components';
1212

1313
// Persistent mode keeps an explicit item height so the empty state matches without layout shift
14-
const PERSISTENT_ITEM_HEIGHT = '56px'; // PersistentListItem: 2×spacings.medium padding + 24px line-height
14+
const PERSISTENT_ITEM_HEIGHT = `calc(${spacings.medium} * 2 + 24px)`; // 2×spacings.medium padding + 24px line-height
1515

1616
interface WrapperProps {
1717
$showBackgroundColor: boolean;

0 commit comments

Comments
 (0)