OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Change implementation if sidebar tabs from "inline" to "flex" and override overflow rules to avoid that scrollbars are always shown
Henriette Dinger624adc016a52
diff --git a/modules/ifc_models/app/assets/stylesheets/ifc_viewer/generic.sass b/modules/ifc_models/app/assets/stylesheets/ifc_viewer/generic.sassindex 436e49ecd16..431cb098e04 100644--- a/modules/ifc_models/app/assets/stylesheets/ifc_viewer/generic.sass+++ b/modules/ifc_models/app/assets/stylesheets/ifc_viewer/generic.sass@@ -46,7 +46,7 @@z-index: 2000-// -------------------------- BUTTONS --------------------------+// -------------------------- XEOKIT specific rules for BUTTONS --------------------------.xeokit-btn-groupvertical-align: middlemargin-right: .5remdiff --git a/modules/ifc_models/app/assets/stylesheets/ifc_viewer/tabs.sass b/modules/ifc_models/app/assets/stylesheets/ifc_viewer/tabs.sassindex edb5661965f..5c589f70e3e 100644--- a/modules/ifc_models/app/assets/stylesheets/ifc_viewer/tabs.sass+++ b/modules/ifc_models/app/assets/stylesheets/ifc_viewer/tabs.sass@@ -6,32 +6,50 @@label@include varprop(color, main-menu-font-color)-// -------------------------- XEOKIT specific --------------------------+// -------------------------- XEOKIT specific rules for TABS --------------------------.xeokit-tabs- .xeokit-tab- display: inline-- &.active- .xeokit-tab-button- border-bottom: 2px solid white+ display: flex- .xeokit-tab-content- display: block+ .xeokit-tab+ flex: 1 1 auto+ // As the button and the content are in the same container,+ // we have to position the content absolutely.+ // Otherwise we could not show the buttons next to each other..xeokit-tab-contentdisplay: none- padding: 1.5em 10px+ position: absolute+ left: 0+ padding: 1.5em 15pxwidth: 100%- height: 100%- float: left++ .active &+ display: block++ // Override inline style of xeokit+ .xeokit-models,+ .xeokit-objects,+ .xeokit-classes+ overflow: hidden !important++ .xeokit-btn-group+ margin-bottom: 10px++ .xeokit-btn+ @include varprop(color, main-menu-font-color)+ background-color: transparent+ border: 1px solid+ @include varprop(border-color, main-menu-font-color).xeokit-tab-button- background-color: transparent- color: #ffffffdisplay: inline-block+ @include varprop(color, main-menu-font-color)font-weight: bold- padding: 0.75em 5px !important- text-decoration: none+ padding: 0 5px !important++ .active &+ border-bottom: 2px solid+ @include varprop(border-color, main-menu-font-color)&:hoverborder-bottom: 2px solid white@@ -39,14 +57,6 @@&:focusoutline: none- .xeokit-btn-group- margin-bottom: 10px-- .xeokit-btn- color: #ffffff- background-color: transparent- border: 1px solid #ffffff-.xeokit-objectsTabullist-style: nonediff --git a/modules/ifc_models/app/assets/stylesheets/ifc_viewer/toolbar.sass b/modules/ifc_models/app/assets/stylesheets/ifc_viewer/toolbar.sassindex e8ed219cc74..6daaa4434f8 100644--- a/modules/ifc_models/app/assets/stylesheets/ifc_viewer/toolbar.sass+++ b/modules/ifc_models/app/assets/stylesheets/ifc_viewer/toolbar.sass@@ -26,6 +26,7 @@// -------------------------- XEOKIT specific --------------------------+// Move toolbar to the right.xeokit-toolbardisplay: flexflex-wrap: wrap