mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 22:53:28 +00:00
Side-step small SVG width divergence by setting min-width
This commit is contained in:
parent
cc9631a371
commit
957c0d3488
@ -4004,7 +4004,7 @@ impl<'test> TestCx<'test> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
let stderr = if force_color_svg {
|
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 {
|
} else if explicit_format {
|
||||||
proc_res.stderr.clone()
|
proc_res.stderr.clone()
|
||||||
} else {
|
} 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>
|
<style>
|
||||||
.fg { fill: #AAAAAA }
|
.fg { fill: #AAAAAA }
|
||||||
.bg { background: #000000 }
|
.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>
|
<style>
|
||||||
.fg { fill: #AAAAAA }
|
.fg { fill: #AAAAAA }
|
||||||
.bg { background: #000000 }
|
.bg { background: #000000 }
|
||||||
|
Before Width: | Height: | Size: 817 B After Width: | Height: | Size: 817 B |
Loading…
Reference in New Issue
Block a user