Display subcategory descriptions on browse page

[Finishes #179426091]
This commit is contained in:
Alex Basson 2021-10-05 14:50:30 -04:00
parent 340bdad831
commit 000bb52e1d
16 changed files with 239 additions and 191 deletions

View file

@ -19,10 +19,10 @@ module GaugeHelper
end
def viewbox
x = -(outer_radius + stroke_width)
y = -(outer_radius + key_benchmark_indicator_gutter + stroke_width)
width = 2*outer_radius + 2*stroke_width
height = outer_radius + key_benchmark_indicator_gutter + 2*stroke_width
x = arc_center.x - (outer_radius + stroke_width)
y = arc_center.y - (outer_radius + stroke_width) - key_benchmark_indicator_gutter
width = 2*(outer_radius + stroke_width)
height = outer_radius + 2*stroke_width + key_benchmark_indicator_gutter
Rect.new(x, y, width, height)
end