Skip to content

Commit bd21022

Browse files
committed
fix: preview text showing overflow
1 parent 3534bdd commit bd21022

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/webgal/src/UI/Menu/Options/NormalOption.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ export const NormalOption = (props: any) => {
66
{/* <div className={styles.NormalOption_title_sd}>{props.title}</div> */}
77
{/* <div className={styles.NormalOption_title_bef}>{props.title}</div> */}
88
<div className={styles.NormalOption_title}>{props.title}</div>
9-
<div className={styles.NormalOption_buttonList} style={{ width: props.full ? '100%' : 'auto' }}>
9+
<div
10+
className={styles.NormalOption_buttonList}
11+
style={{ width: props.full ? '100%' : 'auto', overflow: 'hidden' }}
12+
>
1013
{props.children}
1114
</div>
1215
</div>

0 commit comments

Comments
 (0)