box shadow instead of drop shadow for performance reasons

This commit is contained in:
Kiril Videlov 2023-03-30 15:54:20 +02:00 committed by Kiril Videlov
parent b50f9790aa
commit 5e827d912b
2 changed files with 3 additions and 3 deletions

View File

@ -202,7 +202,7 @@
</div> </div>
</div> </div>
<div <div
class="results-card rounded border border-zinc-700 bg-[#2F2F33] p-4 drop-shadow-lg" class="results-card rounded border border-zinc-700 bg-[#2F2F33] p-4 shadow-lg"
> >
{#each Object.entries(fileSessions) as filetime} {#each Object.entries(fileSessions) as filetime}
<div class="flex flex-row justify-between"> <div class="flex flex-row justify-between">
@ -312,7 +312,7 @@
{/if} {/if}
{#each $recentActivity as activity} {#each $recentActivity as activity}
<div <div
class="recent-activity-card mt-4 mb-1 rounded border border-zinc-700 text-zinc-400 drop-shadow-lg" class="recent-activity-card mt-4 mb-1 rounded border border-zinc-700 text-zinc-400 shadow-lg"
> >
<div class="flex select-text flex-col rounded bg-[#2F2F33] p-3"> <div class="flex select-text flex-col rounded bg-[#2F2F33] p-3">
<div class="flex flex-row justify-between pb-2 text-zinc-500"> <div class="flex flex-row justify-between pb-2 text-zinc-500">

View File

@ -100,7 +100,7 @@
<span>{formatDistanceToNow(timestamp)} ago</span> <span>{formatDistanceToNow(timestamp)} ago</span>
</p> </p>
<div <div
class="flex-auto overflow-auto rounded-lg border border-zinc-700 bg-[#2F2F33] p-2 text-[#EBDBB2] drop-shadow-lg" class="flex-auto overflow-auto rounded-lg border border-zinc-700 bg-[#2F2F33] p-2 text-[#EBDBB2] shadow-lg"
> >
<CodeViewer {doc} {deltas} {filepath} paddingLines={2} {highlight} /> <CodeViewer {doc} {deltas} {filepath} paddingLines={2} {highlight} />
</div> </div>