Remove horizontal scrollbar from theme selector
This commit is contained in:
parent
f14adfe31f
commit
66b6f1e65e
1 changed files with 3 additions and 1 deletions
|
@ -67,7 +67,9 @@ export const ThemeDropDownOptions = styled.div<DisplayPropType>`
|
|||
border-radius: 5px;
|
||||
border-top-left-radius: 0px; border-top-right-radius: 0px;
|
||||
z-index: 1;
|
||||
overflow: ${ props => props.show ? "scroll" : "hidden" };
|
||||
overflow-x: hidden;
|
||||
overflow-y: ${ props => props.show ? "scroll" : "hidden" };
|
||||
scrollbar-width: none;
|
||||
max-height: ${ props => props.show ? "20%" : "0%" };
|
||||
visibility: ${ props => props.show ? "visible" : "hidden" };
|
||||
|
||||
|
|
Loading…
Reference in a new issue