Fix emoji picker colors and size.

This commit is contained in:
John Livingston
2024-09-11 12:40:23 +02:00
parent 0b196805b2
commit b66b0aa315
3 changed files with 37 additions and 4 deletions

View File

@ -229,3 +229,27 @@ body.converse-embedded {
}
}
}
// When livechat has not many height, must reduce the emoji picker height.
/* stylelint-disable-next-line no-duplicate-selectors */
#conversejs {
&[livechat-converse-root-height="small"] {
converse-emoji-picker {
converse-emoji-picker-content {
.emoji-picker__lists {
height: 2em;
}
}
}
}
&[livechat-converse-root-height="medium"] {
converse-emoji-picker {
converse-emoji-picker-content {
.emoji-picker__lists {
height: 4em;
}
}
}
}
}