mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-10-30 09:03:33 +03:00
Setting font-size was too aggressive
This commit is contained in:
parent
870df2d861
commit
49f94a5650
1 changed files with 3 additions and 2 deletions
|
|
@ -628,9 +628,10 @@ export const
|
|||
}
|
||||
|
||||
// https://github.com/the-djmaze/snappymail/issues/1082
|
||||
if (minFontSize > pInt(oStyle.fontSize)) {
|
||||
// Use getComputedStyle?
|
||||
if (oStyle.fontSize && minFontSize > pInt(oStyle.fontSize)) {
|
||||
oStyle.fontSize = minFontSize + "px";
|
||||
// oStyle.removeProperty('font-size');
|
||||
// oStyle.setProperty('font-size', minFontSize + "px");
|
||||
}
|
||||
|
||||
// Removes background and color
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue