mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-22 15:01:13 +02:00
hack nunito italics for now with CSS skew
fixes https://github.com/google/fonts/issues/1726
This commit is contained in:
parent
0229453482
commit
1082f548d3
@ -79,6 +79,11 @@
|
|||||||
|
|
||||||
.mx_Markdown_ITALIC {
|
.mx_Markdown_ITALIC {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
|
||||||
|
// compensate for Nunito italics being terrible
|
||||||
|
// https://github.com/google/fonts/issues/1726
|
||||||
|
transform: skewX(-14deg);
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Markdown_CODE {
|
.mx_Markdown_CODE {
|
||||||
|
@ -453,6 +453,13 @@ limitations under the License.
|
|||||||
display: inline ! important;
|
display: inline ! important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// compensate for Nunito italics being terrible
|
||||||
|
// https://github.com/google/fonts/issues/1726
|
||||||
|
.mx_EventTile_content .markdown-body em {
|
||||||
|
transform: skewX(-14deg);
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
/* end of overrides */
|
/* end of overrides */
|
||||||
|
|
||||||
.mx_MatrixChat_useCompactLayout {
|
.mx_MatrixChat_useCompactLayout {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user