Skip to content

Commit

Permalink
Always set explicit widths on monKeys
Browse files Browse the repository at this point in the history
  • Loading branch information
gbl08ma committed Sep 3, 2022
1 parent 74378dd commit 9349089
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/src/ChatMessageDetails.svelte
Expand Up @@ -64,7 +64,7 @@
src={buildMonKeyURL(msg.getUserMessage().getAuthor().getAddress())}
alt=" "
title="monKey for this user's address"
class="h-20"
class="h-20 w-20"
/>
<div class="flex-grow overflow-x-hidden">
{#if msg.getUserMessage().getAuthor().hasNickname()}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Navbar.svelte
Expand Up @@ -117,7 +117,7 @@
src={buildMonKeyURL(rAddress)}
alt="&nbsp;"
title="MonKey for your address"
class="h-9"
class="h-9 w-9"
style="margin-top: -3px;"
/>
<div class="flex flex-col">
Expand Down
2 changes: 1 addition & 1 deletion app/src/QueueEntryDetails.svelte
Expand Up @@ -146,7 +146,7 @@
src={buildMonKeyURL(requestedBy.getAddress())}
alt="&nbsp;"
title="monKey for this user's address"
class="h-20"
class="h-20 w-20"
/>
<div class="flex-grow">
{#if requestedBy.hasNickname()}
Expand Down
2 changes: 1 addition & 1 deletion app/src/QueueEntryHeaderDocument.svelte
Expand Up @@ -43,7 +43,7 @@
Enqueued by <img
src={buildMonKeyURL(entry.getRequestedBy().getAddress())}
alt="&nbsp;"
class="inline h-7 -ml-1 -mt-4 -mb-3 -mr-1 cursor-pointer"
class="inline h-7 w-7 -ml-1 -mt-4 -mb-3 -mr-1 cursor-pointer"
/>
<span
class="{entry.getRequestedBy().hasNickname()
Expand Down
2 changes: 1 addition & 1 deletion app/src/QueueEntryHeaderSoundCloud.svelte
Expand Up @@ -58,7 +58,7 @@
Enqueued by <img
src={buildMonKeyURL(entry.getRequestedBy().getAddress())}
alt="&nbsp;"
class="inline h-7 -ml-1 -mt-4 -mb-3 -mr-1 cursor-pointer"
class="inline h-7 w-7 -ml-1 -mt-4 -mb-3 -mr-1 cursor-pointer"
/>
<span
class="{entry.getRequestedBy().hasNickname()
Expand Down
2 changes: 1 addition & 1 deletion app/src/QueueEntryHeaderYouTube.svelte
Expand Up @@ -74,7 +74,7 @@
Enqueued by <img
src={buildMonKeyURL(entry.getRequestedBy().getAddress())}
alt="&nbsp;"
class="inline h-7 -ml-1 -mt-4 -mb-3 -mr-1 cursor-pointer"
class="inline h-7 w-7 -ml-1 -mt-4 -mb-3 -mr-1 cursor-pointer"
/>
<span
class="{entry.getRequestedBy().hasNickname()
Expand Down
2 changes: 1 addition & 1 deletion app/src/UserProfile.svelte
Expand Up @@ -137,7 +137,7 @@
<div class="flex flex-col justify-center bg-gray-300 dark:bg-gray-700 text-black dark:text-white rounded-t-lg">
<div class="flex flex-row p-2 pr-12 overflow-x-hidden">
<div class="relative h-28">
<img src={buildMonKeyURL(userAddress)} alt="&nbsp;" title="monKey for this user's address" class="h-28" />
<img src={buildMonKeyURL(userAddress)} alt="&nbsp;" title="monKey for this user's address" class="h-28 w-28" />
<div class="absolute bottom-1 right-1/4">
{#if userStatus == UserStatus.USER_STATUS_OFFLINE}
<i class="fas fa-dot-circle text-gray-600 dark:text-gray-500" title="Disconnected" />
Expand Down
2 changes: 1 addition & 1 deletion app/src/tableitems/UserBanTableItem.svelte
Expand Up @@ -62,7 +62,7 @@
class="border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap pb-4 pt-1 text-gray-700 dark:text-white font-mono cursor-pointer"
on:click={() => openUserProfile(ban.getAddress())}
>
<img src={buildMonKeyURL(ban.getAddress())} alt="&nbsp;" title="" class="inline h-7 -ml-1 -mt-4 -mb-3" />
<img src={buildMonKeyURL(ban.getAddress())} alt="&nbsp;" title="" class="inline h-7 w-7 -ml-1 -mt-4 -mb-3" />
<span class="font-mono">{ban.getAddress().substring(0, 14)} </span>
</td>
<td
Expand Down
2 changes: 1 addition & 1 deletion app/src/tableitems/UserCellRepresentation.svelte
Expand Up @@ -19,7 +19,7 @@
<span on:click={openProfile} class="cursor-pointer">
<VisibilityGuard divClass="inline" let:visible>
{#if visible}
<img src={buildMonKeyURL(user.getAddress())} alt="&nbsp;" title="" class="inline h-7 -ml-1 -mt-4 -mb-3" />
<img src={buildMonKeyURL(user.getAddress())} alt="&nbsp;" title="" class="inline h-7 w-7 -ml-1 -mt-4 -mb-3" />
{:else}
<div class="inline-block h-7 w-7 -ml-1 -mt-4 -mb-3" />
{/if}
Expand Down
2 changes: 1 addition & 1 deletion app/src/tableitems/UserVerificationTableItem.svelte
Expand Up @@ -57,7 +57,7 @@
src={buildMonKeyURL(verification.getAddress())}
alt="&nbsp;"
title=""
class="inline h-7 -ml-1 -mt-4 -mb-3"
class="inline h-7 w-7 -ml-1 -mt-4 -mb-3"
/>
<span class="font-mono">{verification.getAddress().substr(0, 14)} </span>
</td>
Expand Down

0 comments on commit 9349089

Please sign in to comment.