1
0
Fork 0
forked from Mirrors/gomuks

web/stylepreferences: fix highlighting nested mention pills

This commit is contained in:
Tulir Asokan 2024-11-18 17:43:31 +02:00
parent e76d508dc2
commit fa012554a7

View file

@ -67,7 +67,7 @@ const StylePreferences = ({ client, activeRoom }: StylePreferencesProps) => {
usePreferences(client.store, activeRoom)
const preferences = activeRoom?.preferences ?? client.store.preferences
useStyle(() => css`
div.html-body > a.hicli-matrix-uri-user[href="matrix:u/${CSS.escape(client.userID.slice(1))}"] {
div.html-body a.hicli-matrix-uri-user[href="matrix:u/${CSS.escape(client.userID.slice(1))}"] {
background-color: var(--highlight-pill-background-color);
color: var(--highlight-pill-text-color);
}