use flexbox for dialog button
This commit is contained in:
parent
d4c63f04db
commit
148b1f1b38
|
@ -15,7 +15,7 @@
|
|||
<div class="close-dialog-button-wrapper">
|
||||
<button class="close-dialog-button"
|
||||
data-a11y-dialog-hide aria-label="Close dialog">
|
||||
<span aria-hidden="true">×</span>
|
||||
<span class="close-dialog-button-span" aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -79,17 +79,22 @@
|
|||
}
|
||||
.close-dialog-button-wrapper {
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.close-dialog-button {
|
||||
padding: 0 0 7px;
|
||||
padding: 0;
|
||||
background: none;
|
||||
border: none;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.close-dialog-button span {
|
||||
padding: 0 10px 7px;
|
||||
.close-dialog-button-span {
|
||||
padding: 0 10px 5px;
|
||||
font-size: 32px;
|
||||
color: var(--button-primary-text);
|
||||
flex: 1;
|
||||
}
|
||||
.muted-style .modal-dialog-header {
|
||||
background: var(--muted-modal-bg);
|
||||
|
|
Loading…
Reference in a new issue