Skip to content

Commit

Permalink
Fix: s/overflow-y-scroll/overflow-y-auto/ (viamrobotics#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcous authored Aug 29, 2024
1 parent b8bba41 commit 72cb8b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/blocks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@viamrobotics/prime-blocks",
"version": "0.1.4",
"version": "0.1.5",
"repository": {
"type": "git",
"url": "https://github.com/viamrobotics/prime.git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const handleUpdateObstacle = (event: CustomEvent<Obstacle[]>) => {
{#if $tab === NavigationTab.Waypoints}
<ul
on:mouseleave={() => ($hovered = null)}
class="overflow-y-scroll py-2 pr-4 sm:h-[calc(100%-38px)]"
class="overflow-y-auto py-2 pr-4 sm:h-[calc(100%-38px)]"
>
<WaypointsTab
on:add-waypoint
Expand All @@ -47,13 +47,13 @@ const handleUpdateObstacle = (event: CustomEvent<Obstacle[]>) => {
</ul>
{:else if $tab === NavigationTab.Obstacles}
<ul
class="overflow-y-scroll py-2 pr-4 sm:h-[calc(100%-38px)]"
class="overflow-y-auto py-2 pr-4 sm:h-[calc(100%-38px)]"
on:mouseleave={() => ($hovered = null)}
>
<ObstaclesTab on:update={handleUpdateObstacle} />
</ul>
{:else}
<div class="overflow-y-scroll py-2 pr-4 sm:h-[calc(100%-38px)]">
<div class="overflow-y-auto py-2 pr-4 sm:h-[calc(100%-38px)]">
<slot name="tab" />
</div>
{/if}
Expand Down

0 comments on commit 72cb8b7

Please sign in to comment.