Skip to content

A platform for community discussion. Free, open, simple.

UX: fix cmd-k bottom padding (#34440)

chapoif698bb9088ee
diff --git a/app/assets/stylesheets/common/base/modal.scss b/app/assets/stylesheets/common/base/modal.scss
index 6c42fb571bc..387b584ba73 100644
--- a/app/assets/stylesheets/common/base/modal.scss
+++ b/app/assets/stylesheets/common/base/modal.scss
@@ -19,9 +19,9 @@ html.keyboard-visible.mobile-view {
}
}
-html:not(.keyboard-visible.mobile-view) {
+html:not(.keyboard-visible).mobile-device {
.d-modal__container {
- padding-bottom: env(safe-area-inset-bottom);
+ padding-bottom: env(safe-area-inset-bottom, 1rem);
}
}
diff --git a/plugins/chat/assets/stylesheets/common/chat-message-creator.scss b/plugins/chat/assets/stylesheets/common/chat-message-creator.scss
index 812a1ac1b07..7e5a63581a7 100644
--- a/plugins/chat/assets/stylesheets/common/chat-message-creator.scss
+++ b/plugins/chat/assets/stylesheets/common/chat-message-creator.scss
@@ -6,6 +6,10 @@
box-sizing: border-box;
}
+ &__list-container {
+ margin-top: var(--space-4);
+ }
+
&__add-members {
display: flex;
gap: 1rem;
@@ -99,6 +103,7 @@
flex-grow: 1;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--content-border-color);
+ margin-bottom: var(--space-4);
}
&__input {
diff --git a/plugins/chat/assets/stylesheets/common/chat-modal-new-message.scss b/plugins/chat/assets/stylesheets/common/chat-modal-new-message.scss
index f3c2135350a..bb44323a33a 100644
--- a/plugins/chat/assets/stylesheets/common/chat-modal-new-message.scss
+++ b/plugins/chat/assets/stylesheets/common/chat-modal-new-message.scss
@@ -8,7 +8,6 @@
.chat-message-creator__new-group {
display: flex;
flex-direction: column;
- gap: 0.5rem;
}
.chat-message-creator__add-members-header-container {