Side-step small SVG width divergence by setting min-width
This commit is contained in:
parent
cc9631a371
commit
957c0d3488
@ -4004,7 +4004,7 @@ fn load_compare_outputs(
|
||||
};
|
||||
|
||||
let stderr = if force_color_svg {
|
||||
anstyle_svg::Term::new().render_svg(&proc_res.stderr)
|
||||
anstyle_svg::Term::new().min_width_px(730).render_svg(&proc_res.stderr)
|
||||
} else if explicit_format {
|
||||
proc_res.stderr.clone()
|
||||
} else {
|
||||
|
@ -1,4 +1,4 @@
|
||||
<svg width="743px" height="848px" xmlns="http://www.w3.org/2000/svg">
|
||||
<svg width="750px" height="848px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
@ -1,4 +1,4 @@
|
||||
<svg width="740px" height="74px" xmlns="http://www.w3.org/2000/svg">
|
||||
<svg width="750px" height="74px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
|
Before Width: | Height: | Size: 817 B After Width: | Height: | Size: 817 B |
Loading…
Reference in New Issue
Block a user