mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: add trim to boxes
This commit is contained in:
1 parent
456597cfe9
commit
8438641db8
13 files changed
+14
-14
No files matched your search
@@ -11,7 +11,7 @@
|
||||
{:else if role === 'any'}
|
||||
<div>Any</div>
|
||||
{:else}
|
||||
<div>{role}</div>
|
||||
<div class="u-trim-1">{role}</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
@@ -169,7 +169,7 @@
|
||||
<AvatarInitials size={48} name={$user.name} />
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="title">
|
||||
<h6 class="u-bold">{$user.name}</h6>
|
||||
<h6 class="u-bold u-trim-1">{$user.name}</h6>
|
||||
</svelte:fragment>
|
||||
</Box>
|
||||
</svelte:fragment>
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
<AvatarGroup {avatars} total={$members.total} />
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="title">
|
||||
<h6 class="u-bold">{$organization.name}</h6>
|
||||
<h6 class="u-bold u-trim-1">{$organization.name}</h6>
|
||||
</svelte:fragment>
|
||||
<p>{$organization.total} projects</p>
|
||||
</Box>
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
<AvatarInitials size={48} name={$team.name} />
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="title">
|
||||
<h6 class="u-bold">{$team.name}</h6>
|
||||
<h6 class="u-bold u-trim-1">{$team.name}</h6>
|
||||
<span>{$team.total} Members</span>
|
||||
</svelte:fragment>
|
||||
</Box>
|
||||
|
||||
@@ -470,11 +470,11 @@
|
||||
{/if}
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="title">
|
||||
<h6 class="u-bold">
|
||||
<h6 class="u-bold u-trim-1">
|
||||
{$user.name || $user.email || $user.phone || 'Anonymous'}
|
||||
</h6>
|
||||
</svelte:fragment>
|
||||
<p>
|
||||
<p class="u-trim-1">
|
||||
{$user.email && $user.phone
|
||||
? [$user.email, $user.phone].join(',')
|
||||
: $user.email || $user.phone}
|
||||
|
||||
+1
-1
@@ -92,7 +92,7 @@
|
||||
<svelte:fragment slot="aside">
|
||||
<Box>
|
||||
<svelte:fragment slot="title">
|
||||
<h6 class="u-bold">{$doc.$id}</h6>
|
||||
<h6 class="u-bold u-trim-1">{$doc.$id}</h6>
|
||||
</svelte:fragment>
|
||||
<p>
|
||||
Last Updated: {toLocaleDateTime($doc.$updatedAt)}
|
||||
|
||||
+1
-1
@@ -220,7 +220,7 @@
|
||||
<svelte:fragment slot="aside">
|
||||
<Box>
|
||||
<svelte:fragment slot="title">
|
||||
<h6 class="u-bold">{$collection.name}</h6>
|
||||
<h6 class="u-bold u-trim-1">{$collection.name}</h6>
|
||||
</svelte:fragment>
|
||||
<p>Last Updated: {toLocaleDateTime($collection.$updatedAt)}</p>
|
||||
</Box>
|
||||
|
||||
+1
-1
@@ -100,7 +100,7 @@
|
||||
<AvatarInitials size={48} name={$database.name} />
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="title">
|
||||
<h6 class="u-bold">{$database.name}</h6>
|
||||
<h6 class="u-bold u-trim-1">{$database.name}</h6>
|
||||
<span>Last Updated: {toLocaleDateTime($database.$updatedAt)}</span>
|
||||
</svelte:fragment>
|
||||
</Box>
|
||||
|
||||
+1
-1
@@ -548,7 +548,7 @@
|
||||
<svelte:fragment slot="aside">
|
||||
<Box>
|
||||
<svelte:fragment slot="title">
|
||||
<h6 class="u-bold">{$func.name}</h6>
|
||||
<h6 class="u-bold u-trim-1">{$func.name}</h6>
|
||||
</svelte:fragment>
|
||||
<p>Last Updated: {toLocaleDateTime($func.$updatedAt)}</p>
|
||||
</Box>
|
||||
|
||||
@@ -143,7 +143,7 @@
|
||||
<svelte:fragment slot="aside">
|
||||
<Box>
|
||||
<svelte:fragment slot="title">
|
||||
<h6 class="u-bold">{$project.name}</h6>
|
||||
<h6 class="u-bold u-trim-1">{$project.name}</h6>
|
||||
</svelte:fragment>
|
||||
<p>Last update: {toLocaleDateTime($project.$updatedAt)}</p>
|
||||
</Box>
|
||||
|
||||
@@ -316,7 +316,7 @@
|
||||
<svelte:fragment slot="aside">
|
||||
<Box>
|
||||
<svelte:fragment slot="title">
|
||||
<h6 class="u-bold">{$webhook.name}</h6>
|
||||
<h6 class="u-bold u-trim-1">{$webhook.name}</h6>
|
||||
</svelte:fragment>
|
||||
<p>Last updated: {toLocaleDateTime($webhook.$updatedAt)}</p>
|
||||
</Box>
|
||||
|
||||
+1
-1
@@ -134,7 +134,7 @@
|
||||
<svelte:fragment slot="aside">
|
||||
<Box>
|
||||
<svelte:fragment slot="title">
|
||||
<h6 class="u-bold">{$file.name}</h6>
|
||||
<h6 class="u-bold u-trim-1">{$file.name}</h6>
|
||||
</svelte:fragment>
|
||||
<p>
|
||||
Last Updated: {toLocaleDateTime($file.$updatedAt)}
|
||||
|
||||
@@ -430,7 +430,7 @@
|
||||
<svelte:fragment slot="aside">
|
||||
<Box>
|
||||
<svelte:fragment slot="title">
|
||||
<h6 class="u-bold">{$bucket.name}</h6>
|
||||
<h6 class="u-bold u-trim-1">{$bucket.name}</h6>
|
||||
</svelte:fragment>
|
||||
<p>Last Updated: {toLocaleDateTime($bucket.$updatedAt)}</p>
|
||||
</Box>
|
||||
|
||||
Reference in new issue
Block a user