FIX: correct emoji picker size in modal (#30675)

Following a change in b1e40d04b9 the width of the picker has been reduced in modals when it should have been reduced only when NOT in a modal.
This commit is contained in:
Joffrey JAFFEUX
2025-01-09 21:53:49 +01:00
committed by GitHub
parent d9c992bfdd
commit d91c48cece

View File

@ -1,5 +1,15 @@
.fk-d-menu[data-content][data-identifier="emoji-picker"] { .fk-d-menu[data-content][data-identifier="emoji-picker"] {
z-index: z("modal", "dialog"); z-index: z("modal", "dialog");
.emoji-picker {
max-width: 95vw;
}
}
.fk-d-menu-modal {
.emoji-picker {
max-width: 100vw;
}
} }
.emoji-picker-trigger { .emoji-picker-trigger {
@ -13,7 +23,6 @@
flex-direction: column; flex-direction: column;
height: 300px; height: 300px;
width: 500px; width: 500px;
max-width: 95vw;
.spinner-container { .spinner-container {
height: 100%; height: 100%;