Merge pull request #25410 from backstage/freben/scroll

techdocs: fix double scroll bug
This commit is contained in:
Alex Lorenzi
2024-06-26 10:42:17 -04:00
committed by GitHub
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-techdocs': patch
---
Fix double scrollbar bug in reader
@@ -74,6 +74,7 @@ export default ({ theme, sidebar }: RuleOptions) => `
}
.md-sidebar .md-sidebar__scrollwrap {
width: calc(12.1rem);
overflow-y: hidden;
}
.md-sidebar--secondary {
right: ${theme.spacing(3)}px;
@@ -234,7 +235,7 @@ export default ({ theme, sidebar }: RuleOptions) => `
#toggle-sidebar {
display: none;
}
.md-content {
margin: 0;
width: 100%;