Skip to content

Commit

Permalink
Merge pull request #612 from A-kirami/fix/preview-text-overflow
Browse files Browse the repository at this point in the history
fix: preview text showing overflow
  • Loading branch information
MakinoharaShoko authored Dec 26, 2024
2 parents 24c3e8a + a53a869 commit 616c8cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/webgal/src/UI/Menu/Options/NormalOption.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ export const NormalOption = (props: any) => {
{/* <div className={styles.NormalOption_title_sd}>{props.title}</div> */}
{/* <div className={styles.NormalOption_title_bef}>{props.title}</div> */}
<div className={styles.NormalOption_title}>{props.title}</div>
<div className={styles.NormalOption_buttonList} style={{ width: props.full ? '100%' : 'auto' }}>
<div
className={styles.NormalOption_buttonList}
style={{ width: props.full ? '100%' : 'auto', overflow: props.full ? 'hidden' : undefined }}
>
{props.children}
</div>
</div>
Expand Down

0 comments on commit 616c8cf

Please sign in to comment.