diff --git a/webif/html/browse/crop/crop.jim b/webif/html/browse/crop/crop.jim index 1c3fe09..f717956 100755 --- a/webif/html/browse/crop/crop.jim +++ b/webif/html/browse/crop/crop.jim @@ -37,6 +37,10 @@ puts "
" proc div {type left right} { set width $($right - $left) + if {$width < 0} { + # negative values are invalid for CSS width + set width 0 + } puts "
$type
" }