mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
fi
This commit is contained in:
parent
20f03d6e11
commit
cbfe197a28
2 changed files with 10 additions and 4 deletions
|
|
@ -45,7 +45,6 @@ export const Container = ({
|
||||||
border: `1px solid ${borderColor}`,
|
border: `1px solid ${borderColor}`,
|
||||||
height,
|
height,
|
||||||
display: isVisible ? 'flex' : 'none',
|
display: isVisible ? 'flex' : 'none',
|
||||||
overflow: 'hidden auto',
|
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
boxShadow,
|
boxShadow,
|
||||||
};
|
};
|
||||||
|
|
@ -66,9 +65,7 @@ export const Container = ({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={`jet-container tw-flex tw-flex-col ${isLoading && 'jet-container-loading'} ${
|
className={`jet-container widget-type-container ${properties.loadingState && 'jet-container-loading'}`}
|
||||||
properties.showHeader && 'jet-container--with-header'
|
|
||||||
}`}
|
|
||||||
id={id}
|
id={id}
|
||||||
data-disabled={isDisabled}
|
data-disabled={isDisabled}
|
||||||
style={computedStyles}
|
style={computedStyles}
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue