Skip to content

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

UX: tweaks for send button (#25816)

chapoif4848ae98940
diff --git a/plugins/chat/assets/stylesheets/mobile/chat-composer.scss b/plugins/chat/assets/stylesheets/mobile/chat-composer.scss
index 093660398f7..675f3b521f8 100644
--- a/plugins/chat/assets/stylesheets/mobile/chat-composer.scss
+++ b/plugins/chat/assets/stylesheets/mobile/chat-composer.scss
@@ -5,12 +5,14 @@
}
&__outer-container {
padding: 0;
+ align-items: flex-end;
.chat-composer.is-disabled {
opacity: 0.5;
}
}
&__inner-container {
+ align-self: stretch;
min-height: unset;
.chat-composer.is-focused & {
border-color: var(--primary-low);
@@ -27,19 +29,20 @@
}
}
&-button__wrapper {
- align-self: unset;
+ margin-bottom: 0.3em;
}
&-button.-send {
- height: 100%;
+ height: auto;
width: auto;
- align-self: unset;
- .d-icon {
- padding: 0.5rem;
- border-radius: 100%;
+ margin-inline: 0.7rem;
+ padding: 0.425em 0.5em;
+ border-radius: 100%;
- .is-send-enabled.is-focused & {
- background-color: var(--tertiary-high);
- color: var(--secondary);
+ .is-send-enabled.is-focused & {
+ background-color: var(--tertiary-high);
+ color: var(--secondary);
+ .d-icon {
+ color: inherit;
}
}
}