Skip to content

Commit

Permalink
fix(core): do not hide nested scrollbars (#6645)
Browse files Browse the repository at this point in the history
Co-authored-by: taiga-family-bot <[email protected]>
  • Loading branch information
splincode and taiga-family-bot authored Feb 5, 2024
1 parent 020033b commit 6a25d26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,13 @@
top: 0;
left: 0;
z-index: 1;
display: none;
min-width: calc(100% - 1px);
min-height: calc(100% - 1px);
max-width: calc(100% - 1px);
max-height: calc(100% - 1px);
float: left;
margin-inline-end: calc(-100% + 1px);
pointer-events: none;

&:host-context([data-tui-theme]) {
display: block;
}
}

.t-bar {
Expand Down
5 changes: 5 additions & 0 deletions projects/core/components/root/root.style.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,14 @@ tui-root {

tui-root > .t-root-scrollbar {
.fullsize(fixed, inset);
display: none;
margin: 0;
}

[data-tui-theme] tui-root > .t-root-scrollbar {
display: block;
}

.t-root-content {
height: 100%;
isolation: isolate;
Expand Down

0 comments on commit 6a25d26

Please sign in to comment.