This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ limitations under the License.
24
24
}
25
25
26
26
button .mx_BaseAvatar {
27
- /* The user agent stylesheet overrides the font-size & line-height in this scenario
28
- And that breaks the alignment, emojis, and all sorts of things
27
+ /* <button> is a form element and by default it uses the user agent (browser) styling.
28
+ We want it to inherit the font-family and line-height from its parent.
29
29
*/
30
- font-size : inherit;
30
+ font-family : inherit;
31
31
line-height : inherit;
32
32
}
Original file line number Diff line number Diff line change @@ -99,11 +99,6 @@ limitations under the License.
99
99
margin : 0 auto;
100
100
transition : 0.5 s ;
101
101
102
- .mx_BaseAvatar {
103
- /* Override the calculated font-size so that the letter isn't tiny */
104
- font-size : 4 rem ;
105
- }
106
-
107
102
.mx_BaseAvatar ,
108
103
.mx_BaseAvatar img {
109
104
width : 100 % ;
@@ -255,11 +250,6 @@ limitations under the License.
255
250
max-width : 72 px ;
256
251
margin : 0 auto;
257
252
}
258
-
259
- .mx_BaseAvatar {
260
- /* Override the calculated font-size so that the letter isn't tiny */
261
- font-size : 2 rem ;
262
- }
263
253
}
264
254
}
265
255
}
You can’t perform that action at this time.
0 commit comments