Skip to content

Commit

Permalink
chore: Re-add margin for VR sticky-scrollbar when offset
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben Carvalho committed Sep 26, 2023
1 parent 6544a4d commit a6ff934
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/table/sticky-scrollbar/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
margin-top: calc(-1 * awsui.$border-divider-section-width); // -1px to compensate for border width
border-top: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
}

&.is-visual-refresh {
// Needed to avoid sticky scrollbar overlapping with interactive elements in VR compact mode
margin-top: -5px;
}
}
}

Expand Down

0 comments on commit a6ff934

Please sign in to comment.