From db0fcdb8f2b85c8b9bd3f21289428166c0553914 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Mon, 23 Sep 2024 10:00:11 -0500 Subject: [PATCH] Style --- app/helpers/bubbles_helper.rb | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/app/helpers/bubbles_helper.rb b/app/helpers/bubbles_helper.rb index 7b529d837..c57951963 100644 --- a/app/helpers/bubbles_helper.rb +++ b/app/helpers/bubbles_helper.rb @@ -9,13 +9,14 @@ module BubblesHelper def bubble_size(bubble) activity = bubble.boosts.size + bubble.comments.size - rank = case activity - when 0..5 then 'one' - when 6..10 then 'two' - when 11..25 then 'three' - when 26..50 then 'four' - else 'five' - end + rank = + case activity + when 0..5 then "one" + when 6..10 then "two" + when 11..25 then "three" + when 26..50 then "four" + else "five" + end "--bubble-size: var(--bubble-size-#{rank});" end