Skip to content

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

Fix scrollable tabs the easy way

Benjamin Bädorfcdf918d692c1
diff --git a/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tabs/wp-tabs.component.sass b/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tabs/wp-tabs.component.sass
new file mode 100644
index 00000000000..1c4d63ee473
--- /dev/null
+++ b/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tabs/wp-tabs.component.sass
@@ -0,0 +1,4 @@
+:host
+ width: 100%
+ max-width: 100%
+ overflow: hidden
diff --git a/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tabs/wp-tabs.component.ts b/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tabs/wp-tabs.component.ts
index 6ddddc71400..cc3e50b49cd 100644
--- a/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tabs/wp-tabs.component.ts
+++ b/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tabs/wp-tabs.component.ts
@@ -11,6 +11,7 @@ import { WorkPackageResource } from 'core-app/features/hal/resources/work-packag
@Component({
selector: 'op-wp-tabs',
templateUrl: './wp-tabs.component.html',
+ styleUrls: ['./wp-tabs.component.sass'],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class WpTabsComponent implements OnInit {