views: remove tag size indicator bars from /tags.

Remove tag size indicator bars. These bars don't play nicely with dark
mode and aren't all that useful to begin with.
This commit is contained in:
evazion
2019-09-19 04:41:00 -05:00
parent 828b225dac
commit ca4cba7635
3 changed files with 1 additions and 13 deletions

View File

@@ -37,10 +37,4 @@ module TagsHelper
html.html_safe
end
def tag_post_count_style(tag)
@highest_post_count ||= Tag.highest_post_count
width_percent = Math.log([tag.post_count, 1].max, @highest_post_count) * 100
"background: linear-gradient(to left, #DDD #{width_percent}%, white #{width_percent}%)"
end
end