Fix padding in the library loading buttons (#2331)
* Fix padding in the library loading buttons * Update src/components/Stack.tsx Co-authored-by: Dominic Lee <34794189+dominictwlee@users.noreply.github.com> * extend CSSProperties TS definition Co-authored-by: Dominic Lee <34794189+dominictwlee@users.noreply.github.com> Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
@ -36,13 +36,11 @@ export const Modal = (props: {
|
||||
<div className="Modal__background" onClick={props.onCloseRequest}></div>
|
||||
<div
|
||||
className="Modal__content"
|
||||
style={
|
||||
{
|
||||
"--max-width": `${props.maxWidth}px`,
|
||||
maxHeight: "100%",
|
||||
overflowY: "scroll",
|
||||
} as any
|
||||
}
|
||||
style={{
|
||||
"--max-width": `${props.maxWidth}px`,
|
||||
maxHeight: "100%",
|
||||
overflowY: "scroll",
|
||||
}}
|
||||
>
|
||||
{props.children}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user