mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-19 18:13:41 -05:00
web/emojipicker: don't allow pack names to wrap
This commit is contained in:
parent
89895b197e
commit
1ff9ba241a
2 changed files with 8 additions and 1 deletions
|
@ -98,7 +98,7 @@ export const EmojiGroup = ({
|
|||
style={{ containIntrinsicHeight: `${1.5 + Math.ceil(emojis.length / itemsPerRow) * rowSize}rem` }}
|
||||
>
|
||||
<h4 className="emoji-category-name">
|
||||
{categoryName}
|
||||
<span title={categoryName}>{categoryName}</span>
|
||||
{pack && <button
|
||||
className="emoji-category-add"
|
||||
onClick={isWatched ? onClickUnsubscribePack : onClickSubscribePack}
|
||||
|
|
|
@ -166,6 +166,13 @@ div.emoji-picker, div.sticker-picker {
|
|||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
> span {
|
||||
flex: 1;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
> button {
|
||||
margin-left: .25rem;
|
||||
font-size: .8rem;
|
||||
|
|
Loading…
Add table
Reference in a new issue