From 7a2a0347bc951ffed4bcd3a49f9e539e3d290513 Mon Sep 17 00:00:00 2001 From: Florencia Barreto Date: Wed, 2 Aug 2023 17:19:15 +0200 Subject: [PATCH] fix: style --- src/components/AssetCard/AssetCard.css | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/components/AssetCard/AssetCard.css b/src/components/AssetCard/AssetCard.css index 8ffe0f85..bb1d1c2c 100644 --- a/src/components/AssetCard/AssetCard.css +++ b/src/components/AssetCard/AssetCard.css @@ -56,8 +56,7 @@ color: var(--secondary-text); } -.AssetCard .ui.card > .content > .header:not(.ui), -.AssetCard > .card > .content > .header:not(.ui) { +.AssetCard.ui.card>.content>.header:not(.ui) { margin-bottom: 0px; flex: unset; } @@ -112,8 +111,7 @@ margin-top: 2px; } -.AssetCard.ui.card:hover > .content.catalog, -.AssetCard.card:hover > .content.catalog { +.AssetCard.ui.card:hover>.content.catalog { position: absolute; height: 206px; margin-top: 161px; @@ -166,7 +164,7 @@ height: 123px; } - .AssetCard.ui.card > .content.catalog > .header:not(.ui) { + .AssetCard.ui.card>.content.catalog>.header:not(.ui) { flex: unset; } } @@ -176,11 +174,11 @@ height: 345px; } - .AssetCard.ui.card > .content.catalog { + .AssetCard.ui.card>.content.catalog { display: flex; } - .AssetCard.ui.card > .content.catalog > .header:not(.ui) { + .AssetCard.ui.card>.content.catalog>.header:not(.ui) { font-size: 15px; flex: unset; } @@ -206,7 +204,7 @@ opacity: 1; } - .AssetCard.ui.card > .content { + .AssetCard.ui.card>.content { display: block; } @@ -214,4 +212,4 @@ .AssetImage .image { height: 123px; } -} +} \ No newline at end of file