2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-09-24 16:40:55 -06:00

Improve Material header icons rendering

This commit is contained in:
Nathanaël Jourdane 2019-02-12 18:59:14 +01:00
parent 0ee657f5b3
commit d8e3d99159
2 changed files with 12 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -151,13 +151,22 @@
.editor-toolbar button:after { .editor-toolbar button:after {
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
font-size: 65%;
vertical-align: text-bottom; vertical-align: text-bottom;
position: relative; position: relative;
}
.editor-toolbar button.fa:after {
font-size: 75%;
top: 2px; top: 2px;
} }
.editor-toolbar button.heading-1:after { .editor-toolbar button.material-icons:after {
font-size: 50%;
top: -2px;
margin-left: -8px;
}
.editor-toolbar button.header-1:after {
content: "1"; content: "1";
} }