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

Set active class on quickAdd -Toggle button

Henriette Darged31709c9dd10
diff --git a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts
index 883e3a5a56d..6425446e1a8 100644
--- a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts
+++ b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts
@@ -469,6 +469,7 @@ export class TeamPlannerComponent extends UntilDestroyedMixin implements OnInit,
}
private toggleQuickAddPane():void {
+ document.getElementsByClassName('fc-showQuickAddPane-button')[0].classList.toggle('-active');
this.showQuickAddPane.next(!this.showQuickAddPane.getValue());
}
}
diff --git a/frontend/src/global_styles/vendor/_full_calendar.sass b/frontend/src/global_styles/vendor/_full_calendar.sass
index ae7c2548479..eca08cf9f09 100644
--- a/frontend/src/global_styles/vendor/_full_calendar.sass
+++ b/frontend/src/global_styles/vendor/_full_calendar.sass
@@ -55,8 +55,8 @@
background: transparent
margin-bottom: 0
- &:focus
- box-shadow: none
+ &:focus
+ box-shadow: none
> .fc-button
border-radius: 2rem
@@ -88,9 +88,6 @@
@extend .icon-arrow-right3
.fc-showQuickAddPane-button
- @extend .button, .-highlight
- margin-bottom: 0 !important
-
&:before
@include icon-font-common
@extend .icon-add