mirror of https://github.com/sualko/cloud_bbb
fix: max dialog height
parent
db9566c399
commit
4b33890938
|
@ -2,6 +2,11 @@
|
|||
background-image: url('../../img/chain-plus.svg');
|
||||
}
|
||||
|
||||
.oc-dialog.bbb-dialog {
|
||||
max-height: calc(100% - 70px);
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
#bbb-warning {
|
||||
padding: 1em;
|
||||
background-color: rgb(255, 255, 123);
|
||||
|
|
|
@ -15,7 +15,7 @@ const Dialog: React.FC<Props> = ({open, title, children, onClose = () => undefin
|
|||
return (
|
||||
<>
|
||||
<div className="oc-dialog-dim"> </div>
|
||||
<div className="oc-dialog" tabIndex={-1} role="dialog" style={{display:'inline-block', position: 'fixed'}}>
|
||||
<div className="oc-dialog bbb-dialog" tabIndex={-1} role="dialog" style={{display:'inline-block', position: 'fixed'}}>
|
||||
<h2 className="oc-dialog-title">{title}</h2>
|
||||
<a className="oc-dialog-close" onClick={ev => {ev.preventDefault(); onClose();}}></a>
|
||||
|
||||
|
|
Loading…
Reference in New Issue