From 003d32babeec033200429dcef5c8720852e6fddd Mon Sep 17 00:00:00 2001 From: Jeff Atwood <jatwood@codinghorror.com> Date: Sat, 29 Nov 2014 03:58:44 -0800 Subject: [PATCH] decrease size of cat color stripe in digests a bit --- app/helpers/user_notifications_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/user_notifications_helper.rb b/app/helpers/user_notifications_helper.rb index da0baf4e9f3..dbbe353f7c8 100644 --- a/app/helpers/user_notifications_helper.rb +++ b/app/helpers/user_notifications_helper.rb @@ -72,7 +72,7 @@ module UserNotificationsHelper category_url = "#{Discourse.base_url}#{category.url}" if opts[:only_stripe] - result << "<a href='#{category_url}' style='background-color: ##{category.color}; font-size: 12px; padding: 4px 2px; font-weight: bold; margin: 0; width: 2px; white-space:nowrap;'> </a>" + result << "<a href='#{category_url}' style='background-color: ##{category.color}; font-size: 12px; padding: 2px 1px; font-weight: bold; margin: 0; width: 2px; white-space:nowrap;'> </a>" result << "<a href='#{category_url}' style='font-size: 12px; font-weight: bold; margin-left: 3px;'>#{category.name}</a>" else if category.parent_category.present?