mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-27 22:05:53 +08:00
fix(article): fix Opus article body font size too small (#1897)
New Opus format uses font_level string instead of numeric font_size, causing font size to fall back to Flutter theme default (14px) instead of the expected 16px. Added Word.effectiveFontSize: small→13px, others→16px (consistent with legacy HTML article format).
This commit is contained in:
@@ -151,7 +151,7 @@ class OpusContent extends StatelessWidget {
|
||||
style: _getStyle(
|
||||
word?.style,
|
||||
color ?? defaultColor,
|
||||
word?.fontSize,
|
||||
word?.effectiveFontSize,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user