From 334cead6a6f9a4052221e307a80171f2b12601e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Mon, 26 Oct 2026 06:33:24 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20style:=20a=20row's=20delete=20co?= =?UTF-8?q?nfirm=20floats=20under=20its=20button=20instead=20of=20growing?= =?UTF-8?q?=20the=20row?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style/main.scss | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/style/main.scss b/style/main.scss index ef74f17..5fb0552 100644 --- a/style/main.scss +++ b/style/main.scss @@ -831,17 +831,21 @@ code { } } - // A confirm opened on a row grows the row tall: keep the name and the Delete button on the top - // edge, and right-align the summary and its popover under the row's end. - &:has(> .confirm-inline[open]) { - align-items: flex-start; - } - + // A row's confirm floats under its button, right-aligned, so opening it leaves the row as it is. > .confirm-inline { - text-align: right; + position: relative; .confirm-pop { - margin-left: auto; + position: absolute; + right: 0; + top: 100%; + z-index: 10; + max-width: calc(100vw - 32px); + + // On a phone the button may wrap to the row's start: keep the popover in the flow there. + @media (max-width: 600px) { + position: static; + } } } }