change style of modal

save-focus-on-timeline
Nolan Lawson 2018-02-06 09:09:47 -08:00
rodzic 8711bfb831
commit 503fb6e4e0
2 zmienionych plików z 15 dodań i 6 usunięć

Wyświetl plik

@ -15,12 +15,13 @@
</ModalDialog>
<style>
.confirmation-dialog-form-flex {
display: flex;
flex-direction: row;
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 10px;
padding: 10px 20px;
}
.confirmation-dialog-form-flex button {
flex: 1;
min-width: 200px;
min-width: 125px;
}
.confirmation-dialog-form p {
font-size: 1.3em;

Wyświetl plik

@ -6,7 +6,9 @@
<span aria-hidden="true">&times;</span>
</button>
</div>
<slot></slot>
<div class="modal-dialog-slot">
<slot></slot>
</div>
</div>
</div>
<style>
@ -29,13 +31,15 @@
left: 50%;
transform: translate(-50%, -50%);
padding: 0;
border: 3px solid var(--main-border);
border: 1px solid var(--main-border);
border-radius: 2px;
}
.modal-dialog-document {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
max-width: calc(100vw - 20px);
}
.close-dialog-button-wrapper {
text-align: right;
@ -53,6 +57,10 @@
color: var(--button-primary-text);
}
.modal-dialog-slot {
max-width: 100%;
}
@media (max-width: 767px) {
.close-dialog-button span {
padding: 0 10px 4px;