Skip to content

Commit

Permalink
fix: Prevent content shifting when the scrollbar is visible
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiaromorales committed Oct 27, 2022
1 parent e39a36f commit 76dfe47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Navigator/QuickNavigationModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,9 @@ $base-border-width: 1px;
&__match-list {
overflow: scroll;
max-height: rem(450px);
height: 0px;
&.active {
height: auto;
border-top: 1px solid var(--color-fill-gray);
}
.no-results {
Expand Down
3 changes: 3 additions & 0 deletions src/views/DocumentationTopic.vue
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ export default {
@import 'docc-render/styles/_core.scss';

/deep/ {
.generic-modal {
overflow-y: overlay;
}
.modal-fullscreen .container {
background-color: transparent;
height: fit-content;
Expand Down

0 comments on commit 76dfe47

Please sign in to comment.