This commit is contained in:
Nakul Nagargade 2025-02-06 11:03:51 +05:30
parent 20f03d6e11
commit cbfe197a28
2 changed files with 10 additions and 4 deletions

View file

@ -45,7 +45,6 @@ export const Container = ({
border: `1px solid ${borderColor}`,
height,
display: isVisible ? 'flex' : 'none',
overflow: 'hidden auto',
position: 'relative',
boxShadow,
};
@ -66,9 +65,7 @@ export const Container = ({
return (
<div
className={`jet-container tw-flex tw-flex-col ${isLoading && 'jet-container-loading'} ${
properties.showHeader && 'jet-container--with-header'
}`}
className={`jet-container widget-type-container ${properties.loadingState && 'jet-container-loading'}`}
id={id}
data-disabled={isDisabled}
style={computedStyles}

View file

@ -493,4 +493,13 @@ $btn-dark-color: #FFFFFF;
}
}
}
}
//[Container-widget]Show scrollbar only on hover
.widget-type-container {
overflow: hidden auto;
scrollbar-width: none;
&:hover {
scrollbar-width: auto;
}
}