techdocs: fix double scroll bug

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2024-06-26 12:05:44 +02:00
parent 6728270cdd
commit 60caa9216d
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%;