mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-03 23:34:09 +02:00
Fix broken Arial font override
This commit is contained in:
parent
4476edb6c3
commit
c251603e1e
@ -59,7 +59,7 @@ public string GenerateHtml(string bodyClasses, Control sync){
|
|||||||
build.Append("<style type='text/css'>").Append(customCSS).Append("</style>");
|
build.Append("<style type='text/css'>").Append(customCSS).Append("</style>");
|
||||||
}
|
}
|
||||||
|
|
||||||
build.Append("</head><body class='scroll-styled-v system-font-stack");
|
build.Append("</head><body class='scroll-styled-v");
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(bodyClasses)){
|
if (!string.IsNullOrEmpty(bodyClasses)){
|
||||||
build.Append(' ').Append(bodyClasses);
|
build.Append(' ').Append(bodyClasses);
|
||||||
|
@ -432,7 +432,8 @@ enabled(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.config.forceArialFont){
|
if (this.config.forceArialFont){
|
||||||
this.css.insert("#tduck .system-font-stack { font-family: Arial, sans-serif; font-weight: 400 }");
|
this.css.insert("#tduck { font-family: Arial, sans-serif; font-weight: 400 }");
|
||||||
|
this.css.insert("#tduck input, #tduck label, #tduck select, #tduck textarea { font-family: Arial }")
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.config.increaseQuoteTextSize){
|
if (this.config.increaseQuoteTextSize){
|
||||||
@ -603,7 +604,7 @@ html[data-td-font] { font-size: ${this.config.fontSize} !important }
|
|||||||
.avatar { border-radius: ${this.config.avatarRadius}% !important }
|
.avatar { border-radius: ${this.config.avatarRadius}% !important }
|
||||||
|
|
||||||
${this.config.forceArialFont ? `
|
${this.config.forceArialFont ? `
|
||||||
#tduck .system-font-stack { font-family: Arial, sans-serif; font-weight: 400 }
|
#tduck { font-family: Arial, sans-serif; font-weight: 400 }
|
||||||
` : ``}
|
` : ``}
|
||||||
|
|
||||||
${this.config.increaseQuoteTextSize ? `
|
${this.config.increaseQuoteTextSize ? `
|
||||||
|
Loading…
Reference in New Issue
Block a user