making header better and fixing stroke width on text

This commit is contained in:
Chris Cochrun 2025-07-04 06:11:48 -05:00
parent 049e5bd7cc
commit 7f66f33462
4 changed files with 27 additions and 19 deletions

View file

@ -218,7 +218,7 @@ impl TextSvg {
};
let stroke = if let Some(stroke) = &self.stroke {
format!(
"stroke=\"{}\" stroke-width=\"{}\"",
"stroke=\"{}\" stroke-width=\"{}px\" paint-order=\"stroke\"",
stroke.color, stroke.size
)
} else {