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; + } } } }