Skip to content

Commit

Permalink
Fix: [DS-388] Scrollbar positions is now fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
vicky-comeau committed Oct 4, 2024
1 parent 9f5a356 commit 37cd226
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/early-crews-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hopper-ui/components": patch
---

Removed extra padding around select and combo box popovers so that the scrollbar would be all the way to the right.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
--hop-Popover-column-gap: var(--hop-space-inset-sm);
--hop-Popover-row-gap: var(--hop-space-stack-sm);
--hop-Popover-dialog-padding: var(--hop-space-inset-md);
--hop-Popover-dropdown-padding: var(--hop-space-inset-sm);
--hop-Popover-dropdown-padding: 0;
--hop-Popover-title-font-family: var(--hop-body-sm-font-family);
--hop-Popover-title-font-weight: var(--hop-body-sm-semibold-font-weight);
--hop-Popover-content-font-size: var(--hop-body-sm-font-size);
Expand Down Expand Up @@ -129,6 +129,8 @@
--footer-place-self: stretch;
--grid-template: var(--hop-Popover-dropdown-grid-template);
--padding: var(--hop-Popover-dropdown-padding);

overflow: hidden;
}

.hop-Popover__dialog {
Expand Down Expand Up @@ -160,7 +162,6 @@
min-inline-size: auto;
max-inline-size: none;
max-block-size: var(--hop-Popover-list-box-dropdown-max-height);
padding: 0;

border: none;
}
Expand Down

0 comments on commit 37cd226

Please sign in to comment.