feat(web/panettone): Add direct anchor links to comments
Fixes: #31 Change-Id: I5a8228229eb2b68bdfc5addd305ab055443aa5a6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1581 Reviewed-by: lukegb <lukegb@tvl.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
688d4c6be3
commit
7aebba7531
2 changed files with 23 additions and 12 deletions
|
|
@ -77,7 +77,11 @@
|
|||
(.comment-info
|
||||
:color ,color/gray
|
||||
:margin 0
|
||||
:padding-top "1rem")
|
||||
:padding-top "1rem"
|
||||
|
||||
(a :text-decoration "none")
|
||||
((:and a :hover)
|
||||
:text-decoration "underline"))
|
||||
|
||||
((:or .comment .event)
|
||||
:padding-top "1rem"
|
||||
|
|
@ -86,6 +90,10 @@
|
|||
|
||||
(p :margin 0))
|
||||
|
||||
((:and (:or .comment .event) :target)
|
||||
:border-color ,color/primary
|
||||
:border-bottom-width "3px")
|
||||
|
||||
(.event
|
||||
:color ,color/gray))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue