From 73068bc2cf6b3e8dd39b9f33d3574c00c47f2756 Mon Sep 17 00:00:00 2001 From: Adrien Maston Date: Mon, 23 Feb 2026 12:42:02 +0100 Subject: [PATCH] Restrict top positioning of closed stamp to perma --- app/assets/stylesheets/card-perma.css | 8 ++++++++ app/assets/stylesheets/cards.css | 6 ------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/card-perma.css b/app/assets/stylesheets/card-perma.css index 0d10762a4..8fa21bdfb 100644 --- a/app/assets/stylesheets/card-perma.css +++ b/app/assets/stylesheets/card-perma.css @@ -218,6 +218,14 @@ } } + .card__closed { + @media (max-width: 639px) { + inset: auto calc(var(--card-padding-inline) * -0.5) 100% auto; + translate: 0 40%; + scale: 75%; + } + } + .card__footer { --btn-size: 2.5rem; diff --git a/app/assets/stylesheets/cards.css b/app/assets/stylesheets/cards.css index 27dbb2c46..011af9089 100644 --- a/app/assets/stylesheets/cards.css +++ b/app/assets/stylesheets/cards.css @@ -409,12 +409,6 @@ } } } - - @media (max-width: 639px) { - inset: auto calc(var(--card-padding-inline) * -0.5) 100% auto; - translate: 0 40%; - scale: 75%; - } } .card:has(.card__closed),