Skip to content

Commit

Permalink
refactor: 💡 Remove mechante box shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
FabienBounoir committed Apr 17, 2024
1 parent 0098076 commit 0bad85b
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/lib/components/Card.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<div class="thumbnail" style="background-image: url({data.thumbnail})">
{#if data.duration && config.displayDuration}
{#if data.isLive}
<div class="duration live">EN DIRECT</div>
<div class="duration live">EN DIRECT</div>
{:else}
<div class="duration">{data.duration}</div>
<div class="duration">{data.duration}</div>
{/if}
{/if}

Expand Down Expand Up @@ -64,11 +64,6 @@
max-width: min(100%, 400px);
background-color: white;
border-radius: 1rem;
box-shadow:
0 0 #0000,
0 0 #0000,
0 1px 3px 0 rgba(0, 0, 0, 0.1),
0 1px 2px -1px rgba(0, 0, 0, 0.1);
padding: 1rem;
min-width: min(100%, 350px);
Expand Down Expand Up @@ -201,8 +196,8 @@
background-color: rgba(0, 0, 0, 0.6);
}
.live{
background-color: rgba(204,0,0,0.85) !important;
.live {
background-color: rgba(204, 0, 0, 0.85) !important;
font-weight: 600;
}
}
Expand Down

0 comments on commit 0bad85b

Please sign in to comment.