You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2026-01-03 21:42:32 +03:00
hack nunito italics for now with CSS skew
fixes https://github.com/google/fonts/issues/1726
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user