Fix for Edit Task Options dialog cut off when opened from plugin

The Edit Task Options dialog is very small if opened from the cloud
import or dronedb import plugin modal dialogs, this css tweak fixes it
to take up the full height of the window.
pull/1164/head
Owen Kaluza 2022-03-29 16:18:35 +11:00
rodzic 9e8b86519c
commit e8c5e7e4cf
4 zmienionych plików z 14 dodań i 2 usunięć

Wyświetl plik

@ -26,7 +26,7 @@ export default class ConfigureNewTaskDialog extends Component {
const title = "Import from " + (platform !== null ? platform.name : "Platform");
return (
<Modal className={"new-task"} onHide={onHide} show={true}>
<Modal className={"new-task"} onHide={onHide} show={true} dialogClassName="modal-newtask">
<Modal.Header closeButton>
<Modal.Title>
{title}

Wyświetl plik

@ -5,3 +5,9 @@
.new-task.modal button i {
margin-right: 1em;
}
/* Fix edit dialog when opened from plugin modal dialog */
.modal-newtask {
min-height: 100%;
}

Wyświetl plik

@ -23,7 +23,7 @@ export default class ConfigureNewTaskDialog extends Component {
} = this.props;
return (
<Modal className={"new-task"} onHide={onHide} show={true}>
<Modal className={"new-task"} onHide={onHide} show={true} dialogClassName="modal-newtask">
<Modal.Header closeButton>
<Modal.Title>
Import from DroneDB

Wyświetl plik

@ -5,3 +5,9 @@
.new-task.modal button i {
margin-right: 1em;
}
/* Fix edit dialog when opened from plugin modal dialog */
.modal-newtask {
min-height: 100%;
}