Skip to content

Commit

Permalink
fix(nfts): snaefell-ui scroll fixes (#17402)
Browse files Browse the repository at this point in the history
  • Loading branch information
bearni95 authored May 29, 2024
1 parent 32cde32 commit a72e187
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
Connecting
{/if}
{:else}
<CircleUserIcon size="16" class={classNames('w-[200px] h-12')} />
<CircleUserIcon size="24" class={classNames('h-12')} />
{#if windowSize !== 'sm'}
Connect Wallet{/if}
{/if}
Expand Down
4 changes: 3 additions & 1 deletion packages/snaefell-ui/src/components/ConnectButton/classes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ export const addressClasses = classNames(
export const chainIconClasses = classNames('w-[24px]', 'mx-2.5');

export const connectButtonClasses = classNames(
'w-max',
'h-[44px]',
'w-max',
'bg-primary',
'hover:bg-secondary',
'rounded-full',
'flex flex-row',
'justify-center',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
background === 'none' ? '' : null,
background !== 'none' ? 'bg-cover bg-bottom' : null,
background === 'general' ? 'bg-custom' : null,
'carousel-item',
);
$: sectionClasses = classNames(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
pageScroll.set(scrollTarget.scrollTop > 100);
}
const sectionContainerClasses = classNames('w-full', 'h-full', 'z-0', 'carousel', 'carousel-vertical', $$props.class);
const sectionContainerClasses = classNames('w-full', 'h-full', 'z-0', $$props.class);
</script>

<div bind:this={scrollTarget} on:scroll={handleScroll} class={sectionContainerClasses}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
'md:px-12',
);
const contentWrapperClasses = classNames('pt-32', 'w-full', 'h-full');
const contentWrapperClasses = classNames('w-full', 'h-full');
</script>

<Section height={'fit'} class={sectionClasses} width="xl">
Expand Down

0 comments on commit a72e187

Please sign in to comment.