UX: Modal mobile fixes ()

* UX: remove discourse-touch class wrapper

* UX: keep modal close btn in right position
This commit is contained in:
chapoi 2024-02-21 14:49:42 +02:00 committed by GitHub
parent a30b54be87
commit a9f8009801
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 98 additions and 97 deletions
app/assets/stylesheets

@ -38,11 +38,14 @@
padding: 0.5rem 0.5rem 0.5rem 1.5rem; //offset for close button padding
border-bottom: 1px solid var(--primary-low);
.modal-close .d-icon {
.modal-close {
margin-left: auto;
.d-icon {
font-size: var(--font-up-2);
color: var(--primary-high);
}
}
}
&__title-text,
&__subtitle-text {

@ -1,6 +1,5 @@
.discourse-touch {
.d-modal.login-modal,
.d-modal.create-account {
.d-modal.login-modal,
.d-modal.create-account {
.d-modal {
&__container {
width: 100%;
@ -97,5 +96,4 @@
.caps-lock-warning {
display: none;
}
}
}