Skip to content

Commit 543ccb4

Browse files
committed
fixed toh layout
1 parent 4f6a976 commit 543ccb4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/views/toh/toh.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
@include media-breakpoint-up(md) {
2121
border-radius: 0 !important;
2222
border: none !important;
23+
24+
top: calc(1rem + var(--navbar-height));
25+
position: sticky;
2326
}
2427
}
2528

src/views/toh/toh.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ class App extends Component<{}, AppState> {
4848
data-bs-target="#toh-search">
4949
Filter
5050
</button>
51-
<aside id="toh-search" class="collapse d-md-block p-2 p-md-0">
51+
<aside id="toh-search" class="collapse d-md-block p-2 py-md-0 overflow-x-hidden">
52+
<div class="vr d-none d-md-block position-absolute ms-1 h-100"></div>
5253
<${SideSearch} models=${models} indices=${indices} conditions=${state.conditions}
5354
changed=${this.conditionsChanged}>
5455
</SideSearch>

0 commit comments

Comments
 (0)