small fix to spacing in server cards (#5501)
* small fix to spacing in server cards * prepr
This commit is contained in:
@@ -132,7 +132,10 @@
|
|||||||
class="flex flex-col gap-3 items-end shrink-0 ml-auto empty:hidden grid-project-card-list__stats"
|
class="flex flex-col gap-3 items-end shrink-0 ml-auto empty:hidden grid-project-card-list__stats"
|
||||||
:class="{ 'mt-3': !!$slots.actions }"
|
:class="{ 'mt-3': !!$slots.actions }"
|
||||||
>
|
>
|
||||||
<div class="flex items-center gap-3">
|
<div
|
||||||
|
v-if="downloads !== undefined || followers !== undefined"
|
||||||
|
class="flex items-center gap-3"
|
||||||
|
>
|
||||||
<ProjectCardStats :downloads="downloads" :followers="followers" />
|
<ProjectCardStats :downloads="downloads" :followers="followers" />
|
||||||
</div>
|
</div>
|
||||||
<ProjectCardDate v-if="date && autoDisplayDate" :type="autoDisplayDate" :date="date" />
|
<ProjectCardDate v-if="date && autoDisplayDate" :type="autoDisplayDate" :date="date" />
|
||||||
@@ -151,10 +154,12 @@
|
|||||||
:recent-plays="serverRecentPlays"
|
:recent-plays="serverRecentPlays"
|
||||||
:hide-label="true"
|
:hide-label="true"
|
||||||
/>
|
/>
|
||||||
<ServerPing v-if="serverPing && serverStatusOnline" :ping="serverPing" />
|
|
||||||
<ServerRegion v-if="serverRegion" :region="serverRegion" />
|
|
||||||
</template>
|
</template>
|
||||||
<div class="flex items-center gap-1">
|
<div class="flex items-center gap-1">
|
||||||
|
<template v-if="isServerProject">
|
||||||
|
<ServerPing v-if="serverPing && serverStatusOnline" :ping="serverPing" />
|
||||||
|
<ServerRegion v-if="serverRegion" :region="serverRegion" />
|
||||||
|
</template>
|
||||||
<ProjectCardEnvironment
|
<ProjectCardEnvironment
|
||||||
v-if="environment"
|
v-if="environment"
|
||||||
:client-side="environment.clientSide"
|
:client-side="environment.clientSide"
|
||||||
|
|||||||
Reference in New Issue
Block a user