From 94796399e246d395811e33a5f2da50157881386c Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Tue, 28 Jul 2020 18:29:30 -0400 Subject: feat(web/panettone): Display issue history Display the history of an issue (which currently is just opening and closing) inline with the issue's comments on the issue show page Change-Id: Id167bceef765cb4c24e86983d1dcd6624d0e5956 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1497 Tested-by: BuildkiteCI Reviewed-by: tazjin --- web/panettone/src/css.lisp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'web/panettone/src/css.lisp') diff --git a/web/panettone/src/css.lisp b/web/panettone/src/css.lisp index e7a2c814e754..fe6cad66b122 100644 --- a/web/panettone/src/css.lisp +++ b/web/panettone/src/css.lisp @@ -64,8 +64,9 @@ (.comment-count :color ,color/gray))) -(defparameter comment-styles - `((.issue-comments +(defparameter issue-history-styles + `((.issue-history + :list-style "none" :border-top "1px" "solid" ,color/gray :padding-top "1rem" :padding-left "2rem" @@ -75,12 +76,15 @@ :margin 0 :padding-top "1rem") - (.comment + ((:or .comment .event) :padding-top "1rem" :padding-bottom "1rem" :border-bottom "1px" "solid" ,color/gray - (p :margin 0))))) + (p :margin 0)) + + (.event + :color ,color/gray)))) (defparameter form-styles `(((:or (:and input (:or (:= type "text") @@ -129,7 +133,7 @@ `(,@form-styles ,@issue-list-styles ,@issue-styles - ,@comment-styles + ,@issue-history-styles (body :font-family "sans-serif" -- cgit 1.4.1