UX: add height to non-highlighted mention (#24490)

This commit is contained in:
chapoi 2023-11-21 17:16:19 +01:00 committed by GitHub
parent 35c66b8285
commit 18cbb37e23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 4 deletions

View File

@ -66,10 +66,16 @@
width: 100%;
}
.mention.highlighted {
@include mention;
background: var(--tertiary-low);
color: var(--primary);
.mention {
padding: 0 0em 0.07em;
display: inline-block;
font-size: 0.93em;
&.highlighted {
@include mention;
background: var(--tertiary-low);
color: var(--primary);
}
}
// Automatic aspect-ratio mapping https://developer.mozilla.org/en-US/docs/Web/Media/images/aspect_ratio_mapping