Skip to content

Commit

Permalink
chore: Re-add margin for VR sticky-scrollbar when offset (#1582)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rúben Carvalho authored Sep 26, 2023
1 parent 75d7170 commit 26cee13
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 26cee13

Please sign in to comment.