mirror of https://github.com/vector-im/riot-web
hack nunito italics for now with CSS skew
fixes https://github.com/google/fonts/issues/1726pull/21833/head
parent
0229453482
commit
1082f548d3
|
@ -79,6 +79,11 @@
|
|||
|
||||
.mx_Markdown_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 {
|
||||
|
|
|
@ -453,6 +453,13 @@ limitations under the License.
|
|||
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 */
|
||||
|
||||
.mx_MatrixChat_useCompactLayout {
|
||||
|
|
Loading…
Reference in New Issue