Skip to content

Commit

Permalink
fixed toh layout
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Jul 14, 2024
1 parent 4f6a976 commit 543ccb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/views/toh/toh.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
@include media-breakpoint-up(md) {
border-radius: 0 !important;
border: none !important;

top: calc(1rem + var(--navbar-height));
position: sticky;
}
}

Expand Down
3 changes: 2 additions & 1 deletion src/views/toh/toh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ class App extends Component<{}, AppState> {
data-bs-target="#toh-search">
Filter
</button>
<aside id="toh-search" class="collapse d-md-block p-2 p-md-0">
<aside id="toh-search" class="collapse d-md-block p-2 py-md-0 overflow-x-hidden">
<div class="vr d-none d-md-block position-absolute ms-1 h-100"></div>
<${SideSearch} models=${models} indices=${indices} conditions=${state.conditions}
changed=${this.conditionsChanged}>
</SideSearch>
Expand Down

0 comments on commit 543ccb4

Please sign in to comment.