From d3b1853573252d1464ac6ca8388960e1df3b0eea Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 22 Dec 2021 08:04:52 +0100 Subject: Card: show hidden row if user device is touch-based --- assets/css/components/_card.scss | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'assets') diff --git a/assets/css/components/_card.scss b/assets/css/components/_card.scss index 7fa54e5..e1f92b0 100644 --- a/assets/css/components/_card.scss +++ b/assets/css/components/_card.scss @@ -127,6 +127,12 @@ transition: opacity .2s; opacity: 0; background-color: prop(--colors --hover --bg); + + @media (hover: none) { + position: static; + opacity: 1; + background-color: transparent; + } } } -- cgit v1.2.3-70-g09d2