Skip to content

Commit

Permalink
Merge pull request #8474 from opf/feature/33246/ifc-viewer--mobile-op…
Browse files Browse the repository at this point in the history
…timization

[33246] Mobile optimizations of IFC viewer
  • Loading branch information
HDinger committed Jun 26, 2020
2 parents 52aba05 + 2e5d4e2 commit a8ea1c0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
Expand Up @@ -46,3 +46,8 @@

.ifc-model-viewer--keyboard-disabled-icon
font-size: 20px

@media only screen and (max-width: 679px)
.ifc-model-viewer--nav-cube-canvas,
.ifc-model-viewer--focus-warning
display: none
Expand Up @@ -32,6 +32,7 @@

.ifc-model-viewer--container
height: 33vh !important
min-width: unset !important

[data-name="bim"] .main-menu--children
overflow-x: hidden !important
Expand Down
12 changes: 12 additions & 0 deletions modules/bim/app/assets/stylesheets/bim/ifc_viewer/toolbar.sass
Expand Up @@ -43,3 +43,15 @@
.xeokit-section-counter
display: none

// -------------------------- MOBILE specific --------------------------
@media only screen and (max-width: 679px)
.ifc-model-viewer--toolbar-container
padding-right: 15px

.ifc-model-viewer--focus-warning,
.ifc-model-viewer--toolbar-container
.fa-male,
.fa-cut
display: none

0 comments on commit a8ea1c0

Please sign in to comment.