Skip to content

Commit

Permalink
최대 높이 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
riroan committed Apr 10, 2024
1 parent 2976406 commit 8b41a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riroan/src/components/Ul/Ul.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styles from './Ul.module.css'

export default function Ul(props) {
const defaultStyle = { transition: 'max-height 0.3s ease 0s, opacity 0.3s ease 0s', transformOrigin: 'center top' }
const visibleStyle = { maxHeight: '500px', opacity: 1, pointerEvents: 'all', ...defaultStyle }
const visibleStyle = { maxHeight: '1000px', opacity: 1, pointerEvents: 'all', ...defaultStyle }
const invisibleStyle = { maxHeight: '0px', opacity: 0, pointerEvents: 'none', ...defaultStyle }
return (
<ul style={props.display ? visibleStyle : invisibleStyle} className={styles.container}>
Expand Down

0 comments on commit 8b41a4f

Please sign in to comment.