From 2a9b8d173a286a7155306d7d1df6328d1eb98199 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 8 May 2021 17:28:25 +0200 Subject: Code comments improvements (#15722) - Right-align the Reply and Resolve buttons - Center Resolved text and add some padding - Add padding to inline comments - Indent the comment content to align with author name - Re-parent form to allow better button layout space. Co-authored-by: zeripath --- web_src/less/_base.less | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'web_src/less/_base.less') diff --git a/web_src/less/_base.less b/web_src/less/_base.less index d85f13cb33..0499547291 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -469,6 +469,10 @@ a.ui.card:hover, border-top-color: var(--color-secondary-light-1) !important; } +.ui.comments .comment .text { + margin: 0; +} + .ui.comments .comment .text, .ui.comments .comment .author { color: var(--color-text); @@ -1633,6 +1637,11 @@ a.ui.label:hover { border-color: var(--color-light-border); } +.ui.labeled.icon.buttons > .button > .icon, +.ui.labeled.icon.button > .icon { + background: var(--color-hover); +} + .ui.blue.button, .ui.blue.buttons .button, .ui.primary.button, -- cgit v1.2.3