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

[38084] Fix inactive typo and not missing class for button

Oliver Güntherd7cde62c06e2
diff --git a/frontend/src/app/shared/components/op-context-menu/op-context-menu.html b/frontend/src/app/shared/components/op-context-menu/op-context-menu.html
index 02ba155d85d..d39a578ff6a 100644
--- a/frontend/src/app/shared/components/op-context-menu/op-context-menu.html
+++ b/frontend/src/app/shared/components/op-context-menu/op-context-menu.html
@@ -11,7 +11,7 @@
*ngIf="item.href"
class="menu-item"
[ngClass]="item.class"
- [class.inacive]="item.disabled"
+ [class.inactive]="item.disabled"
[attr.href]="item.href"
[attr.aria-disabled]="item.disabled"
[attr.aria-label]="item.ariaLabel || item.linkText"
@@ -27,7 +27,7 @@
*ngIf="!item.href"
class="menu-item"
[ngClass]="item.class"
- [class.inacive]="item.disabled"
+ [class.inactive]="item.disabled"
[attr.aria-disabled]="item.disabled"
[attr.aria-label]="item.ariaLabel || item.linkText"
(click)="handleClick(item, $event)"
diff --git a/frontend/src/global_styles/layout/_drop_down.sass b/frontend/src/global_styles/layout/_drop_down.sass
index 583e356c02b..3531ed0d5e5 100644
--- a/frontend/src/global_styles/layout/_drop_down.sass
+++ b/frontend/src/global_styles/layout/_drop_down.sass
@@ -90,10 +90,10 @@
.no-icon
margin-left: 19.09px //for whatever reasons it is the right dimension
- LI > A.inactive
+ LI > .inactive
color: #999999
- LI > A.selected
+ LI > .selected
background: var(--drop-down-selected-bg-color)
color: var(--drop-down-selected-font-color)