fix: sidebar length is fixed (#1023)

This commit is contained in:
Mehak Nasir
2022-12-28 13:34:17 +05:00
committed by GitHub
parent 91c548847b
commit 4ee1570bfa

View File

@@ -37,6 +37,7 @@ function SidebarBase({
<section
className={classNames('ml-0 ml-lg-4 border border-light-400 rounded-sm h-auto align-top', {
'bg-white m-0 border-0 fixed-top vh-100 rounded-0': shouldDisplayFullScreen,
'min-vh-100': !shouldDisplayFullScreen,
}, className)}
style={{ width: shouldDisplayFullScreen ? '100%' : width }}
aria-label={ariaLabel}