UX: Chat composer dropdown styling mobile (#25244)

This commit is contained in:
chapoi 2024-01-15 10:59:24 +02:00 committed by GitHub
parent 9bc78625af
commit 60a4d09f1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 0 deletions

View File

@ -26,6 +26,7 @@ export default class ChatComposerDropdown extends Component {
@disabled={{@isDisabled}}
@arrow={{true}}
@placements={{array "top" "bottom"}}
@identifier="chat-composer-dropdown__menu"
...attributes
as |menu|
>

View File

@ -0,0 +1,18 @@
[data-content][data-identifier="chat-composer-dropdown__menu"] {
width: calc(100% - 2rem);
max-width: unset;
.fk-d-menu__inner-content {
width: 100%;
}
.chat-composer-dropdown {
&__list {
width: 100%;
}
&__action-btn {
padding-block: 0.75rem;
gap: 0.5rem;
}
}
}

View File

@ -1,6 +1,7 @@
@import "base-mobile";
@import "chat-channel";
@import "chat-composer";
@import "chat-composer-dropdown";
@import "chat-index";
@import "chat-message-actions";
@import "chat-message";