mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-26 11:08:38 +03:00
box shadow instead of drop shadow for performance reasons
This commit is contained in:
parent
b50f9790aa
commit
5e827d912b
@ -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">
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user