Skip to content

Commit

Permalink
Fix the height for the IFC viewer page. Otherwise the xeokit viewer w…
Browse files Browse the repository at this point in the history
…ill iteratively grow with no limit
  • Loading branch information
HDinger committed Jun 18, 2024
1 parent cda0286 commit d291d72
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
.controller-bim\/ifc_models\/ifc_viewer
overflow: hidden

// Do not remove this, without checking the BCF module.
// The container of the xeokit viewer needs a fixed height. Otherwise it will grow without end.
#content-body
height: calc(100vh - #{var(--header-height)})

// Override default behavior to let the viewer be at the top of the table/cards
@media only screen and (max-width: $breakpoint-sm)
@include extended-content--right
Expand Down

0 comments on commit d291d72

Please sign in to comment.