Skip to content

Commit

Permalink
Merge pull request #1752 from dusk-network/feature-1751
Browse files Browse the repository at this point in the history
explorer: fix double scrollbar issue
  • Loading branch information
deuch13 authored May 17, 2024
2 parents 6fe9afe + a9d4866 commit 229f43c
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion explorer/src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
data-sveltekit-preload-code="viewport"
data-sveltekit-preload-data="hover"
>
<div>%sveltekit.body%</div>
<div id="app-container">%sveltekit.body%</div>
</body>
</html>
1 change: 0 additions & 1 deletion explorer/src/lib/components/blocks-card/BlocksCard.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.blocks-card__table,
.blocks-card__list {
max-height: 70dvh;
overflow-y: auto;
}
1 change: 1 addition & 0 deletions explorer/src/lib/components/navbar/Navbar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
afterNavigate(() => {
hidden = true;
dispatch("toggleMenu", hidden);
showSearchNotification = false;
});
</script>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.transactions-card__table,
.transactions-card__list {
max-height: 70dvh;
overflow-y: auto;
}
2 changes: 1 addition & 1 deletion explorer/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<header>
<Navbar on:toggleMenu={(e) => toggleScroll(e.detail)} />
</header>
<main class="explorer">
<main id="explorer">
<slot />
</main>
<footer>
Expand Down
2 changes: 1 addition & 1 deletion explorer/src/routes/blocks/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
onDestroy(pollingDataStore.stop);
</script>

<section class="blocks">
<section id="blocks">
<BlocksCard
on:retry={pollingDataStore.start}
blocks={data}
Expand Down
2 changes: 1 addition & 1 deletion explorer/src/routes/transactions/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
onDestroy(pollingDataStore.stop);
</script>

<section class="transactions">
<section id="transactions">
<TransactionsCard
on:retry={pollingDataStore.start}
txs={data}
Expand Down

0 comments on commit 229f43c

Please sign in to comment.