Skip to content

Commit

Permalink
Merge pull request #2623 from anjiazhuyouxing/fix-jsonViewer-scroll
Browse files Browse the repository at this point in the history
fix: resolve scrollbar display issue #2622
  • Loading branch information
DaiQiangReal authored Dec 20, 2024
2 parents 209e6b3 + 71a819f commit 5315d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/semi-json-viewer-core/src/view/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export class View {

setStyles(scrollEl, {
position: 'relative',
overflow: 'scroll',
overflow: 'hidden',
top: '0',
left: '0',
tabSize: (this._options?.formatOptions?.tabSize || 4).toString(),
Expand Down

0 comments on commit 5315d3d

Please sign in to comment.