style: Fix rebase conflict with bug 1837664

This commit is contained in:
Emilio Cobos Álvarez 2023-06-12 18:45:19 +02:00 committed by Martin Robinson
parent 77c541b38a
commit 3da0e44d98

View file

@ -380,7 +380,7 @@ where
{ {
let has_style = *style != BorderStyle::None; let has_style = *style != BorderStyle::None;
let has_color = *color != Color::CurrentColor; let has_color = *color != Color::CurrentColor;
let has_width = *width != BorderSideWidth::Medium; let has_width = *width != BorderSideWidth::medium();
if !has_style && !has_color && !has_width { if !has_style && !has_color && !has_width {
return width.to_css(dest) return width.to_css(dest)
} }