From d612d1b0a84bd51911c9f47c5f2f4692bb308948 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Sat, 27 Apr 2024 13:34:45 +0200 Subject: [PATCH] style: layout of hoverable heading --- templates/threads.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/threads.html b/templates/threads.html index a0ff3c7..23d9a0f 100644 --- a/templates/threads.html +++ b/templates/threads.html @@ -115,15 +115,15 @@ & .heading { - &:hover .anchor { + display: grid; + grid-template-columns: auto auto; + gap: 5px; + + & .anchor:hover a { display: block; } - display: grid; - grid-template-columns: 80% auto; - gap: 5px; - - & .anchor { + & .anchor a { text-align: right; display: none; }