Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
satoshisound committed Dec 26, 2023
1 parent 633d51b commit 5d3d490
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/AccountDropdownMenu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<div class="text-black dark:text-white text-base self-center my-auto">
{#if profile.name}
{profile.name.length > 16 ? profile.name.slice(0, 16) + '...' : profile.name}
{profile.name.length > 10 ? profile.name.slice(0, 10) + '...' : profile.name}
{/if}
</div>
{#if $userProfile?.name === profile?.name}
Expand Down
11 changes: 0 additions & 11 deletions src/routes/popup/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,6 @@
<div
class="text-gray-800 dark:text-gray-400 text-opacity-70 font-semibold leading-4 tracking-[3px] flex flex-row items-center gap-2 p-2"
>
<!-- <span class="avatar">
<img
src={$userProfile.metadata?.picture || 'https://toastr.space/images/toastr.png'}
class="rounded-full h-10 w-10"
alt=""
/>
</span>
<span
>{$userProfile?.metadata?.name || $userProfile?.name || 'Click to select account'}</span
>
<span class="text-xs font-normal tracking-normal text-green-600">(active)</span> -->
<button
class="btn background-surface-700 pl-0 items-center"
use:popup={accountDropdownMenu}
Expand Down
5 changes: 2 additions & 3 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ export default {
darkMode: 'class',
plugins: [
require('@tailwindcss/typography'),
require("@tailwindcss/forms")({
strategy: 'base', // only generate global styles
strategy: 'class', // only generate classes
require('@tailwindcss/forms')({
strategy: 'base' // only generate global styles
}),
skeleton({
themes: {
Expand Down

0 comments on commit 5d3d490

Please sign in to comment.