Fix avatar in right panel not using the correct font (#11593)
* Fix style * Remove previous fix
This commit is contained in:
parent
8837e5212a
commit
3c6d8a2a28
2 changed files with 3 additions and 13 deletions
|
@ -24,9 +24,9 @@ limitations under the License.
|
|||
}
|
||||
|
||||
button.mx_BaseAvatar {
|
||||
/* The user agent stylesheet overrides the font-size & line-height in this scenario
|
||||
And that breaks the alignment, emojis, and all sorts of things
|
||||
/* <button> is a form element and by default it uses the user agent (browser) styling.
|
||||
We want it to inherit the font-family and line-height from its parent.
|
||||
*/
|
||||
font-size: inherit;
|
||||
font-family: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue