fix(style): model status
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
|
||||
.transition-content-wrapper {
|
||||
background-color: var(--color-fill-1);
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -73,7 +73,8 @@ const TransitionWrapper: React.FC<TransitionWrapProps> = forwardRef(
|
||||
className="transition-content-wrapper"
|
||||
style={{
|
||||
minHeight: isOpen ? height : 0,
|
||||
height: isOpen ? 'auto' : 0
|
||||
height: isOpen ? 'auto' : 0,
|
||||
padding: isOpen ? '8px' : '0 8px'
|
||||
}}
|
||||
ref={contentRef}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user