From 9dfdfe2389596aba81f52686d176920f5fef4b3e Mon Sep 17 00:00:00 2001 From: Giteabot Date: Tue, 21 Mar 2023 17:04:01 -0400 Subject: Remove conflicting CSS rules on notifications, improve notifications table (#23565) (#23621) Backport #23565 by @silverwind Dropdowns on `/notifications/subscriptions` before and after: Screenshot 2023-03-18 at 20 37 12 Screenshot 2023-03-18 at 20 41 29 These selectors are meant to target the notification list which I improved: Screenshot 2023-03-19 at 01 52 11 Screenshot 2023-03-19 at 01 54 17 --- templates/user/notification/notification_div.tmpl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'templates/user') diff --git a/templates/user/notification/notification_div.tmpl b/templates/user/notification/notification_div.tmpl index c8db659c13..9a4fbe786e 100644 --- a/templates/user/notification/notification_div.tmpl +++ b/templates/user/notification/notification_div.tmpl @@ -35,26 +35,26 @@ {{$issue := .Issue}} {{$repo := .Repository}} - + {{if eq .Status 3}} - {{svg "octicon-pin"}} + {{svg "octicon-pin" 16 "text blue"}} {{else if not $issue}} - {{svg "octicon-repo"}} + {{svg "octicon-repo" 16 "text grey"}} {{else if $issue.IsPull}} {{if $issue.IsClosed}} {{if $issue.GetPullRequest.HasMerged}} - {{svg "octicon-git-merge"}} + {{svg "octicon-git-merge" 16 "text purple"}} {{else}} - {{svg "octicon-git-pull-request"}} + {{svg "octicon-git-pull-request" 16 "text red"}} {{end}} {{else}} - {{svg "octicon-git-pull-request"}} + {{svg "octicon-git-pull-request" 16 "text green"}} {{end}} {{else}} {{if $issue.IsClosed}} - {{svg "octicon-issue-closed"}} + {{svg "octicon-issue-closed" 16 "text red"}} {{else}} - {{svg "octicon-issue-opened"}} + {{svg "octicon-issue-opened" 16 "text green"}} {{end}} {{end}} -- cgit v1.2.3