From 4d29bc7dbf1603914d7b1d80f5ee5346dc32d38b Mon Sep 17 00:00:00 2001 From: Innders <49156310+Innders@users.noreply.github.com> Date: Wed, 21 Aug 2024 16:11:47 +0100 Subject: [PATCH] fix(EntityCard): really small widths --- src/EntityCard/EntityCard.styled.ts | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/EntityCard/EntityCard.styled.ts b/src/EntityCard/EntityCard.styled.ts index 93be389..73d76c2 100644 --- a/src/EntityCard/EntityCard.styled.ts +++ b/src/EntityCard/EntityCard.styled.ts @@ -300,13 +300,14 @@ export const Card = styled.div` .playable { display: none; } - /* hide title text but show icon */ - .title { - .icon { - display: block; - } - .inner-text { - display: none; + } + + /* hide everything on bottom but the status icon */ + @container card (inline-size < 85px) { + .row-bottom { + .tag.users, + .tag.priority { + visibility: hidden; } } }