Skip to content

Commit

Permalink
Merge pull request #583 from KhronosGroup/fix/scrollableTabs
Browse files Browse the repository at this point in the history
Add scrollbar to tabs
  • Loading branch information
UX3D-kanzler authored Nov 5, 2024
2 parents e2a9233 + 3b35455 commit bbe6f56
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
v-show='!(isMobile && tabContentHidden === false) && !noUI'
>
</div>
<div class="column " v-show='uiVisible'>
<div class="column" v-show='uiVisible'>
<!--Drop Area -->
<div v-bind:class="[showDropDownOverlay ? '' : 'is-hidden']" id="dropZone"
style="pointer-events: none;">
Expand All @@ -126,7 +126,7 @@
<b-tabs id="tabsContainer"
vertical position="is-right"
v-model="activeTab"
v-bind:class="[tabContentHidden ? 'is-flex-wrap-nowrap hideTabs' : 'is-flex-wrap-nowrap']"
v-bind:class="[tabContentHidden ? 'is-flex-wrap-nowrap hideTabs tabsContainer' : 'is-flex-wrap-nowrap tabsContainer']"
type="is-toggle" v-bind:animated="false">

<!-- Tab Category: Models -->
Expand Down
7 changes: 7 additions & 0 deletions src/ui/sass.scss
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,13 @@ label.switch
height: 100%;
}

.tabsContainer .tabs
{
overflow-y: auto;
overflow-x: hidden;
height: 100%;
}

.smallerLabel .label
{
font-weight: 400;
Expand Down

0 comments on commit bbe6f56

Please sign in to comment.