mirror of
https://github.com/discourse/discourse.git
synced 2025-04-01 11:45:42 +08:00
UX: Modal mobile fixes (#25788)
* UX: remove discourse-touch class wrapper * UX: keep modal close btn in right position
This commit is contained in:
parent
a30b54be87
commit
a9f8009801
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user