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
Use tabular-nums on timer button
Oliver Günther99b104f53a09
diff --git a/frontend/src/app/features/work-packages/components/wp-timer-button/wp-timer-button.component.html b/frontend/src/app/features/work-packages/components/wp-timer-button/wp-timer-button.component.htmlindex d46a5e8642a..3fea0e5bb40 100644--- a/frontend/src/app/features/work-packages/components/wp-timer-button/wp-timer-button.component.html+++ b/frontend/src/app/features/work-packages/components/wp-timer-button/wp-timer-button.component.html@@ -1,7 +1,7 @@<ng-container *ngIf="{ timer: (timer$ | async), active: activeForWorkPackage(timer$ | async) } as context"><ng-container *ngIf="context.timer && context.active"><button- class="button button_flex"+ class="button button_flex op-wp-timer-button"type="button"data-test-selector="timer-active"[title]="text.stop_timer"diff --git a/frontend/src/app/features/work-packages/components/wp-timer-button/wp-timer-button.component.sass b/frontend/src/app/features/work-packages/components/wp-timer-button/wp-timer-button.component.sassnew file mode 100644index 00000000000..d1a62d9c371--- /dev/null+++ b/frontend/src/app/features/work-packages/components/wp-timer-button/wp-timer-button.component.sass@@ -0,0 +1,2 @@+.op-wp-timer-button+ font-variant-numeric: tabular-numsdiff --git a/frontend/src/app/features/work-packages/components/wp-timer-button/wp-timer-button.component.ts b/frontend/src/app/features/work-packages/components/wp-timer-button/wp-timer-button.component.tsindex 730c21168dc..0e7bb3a426e 100644--- a/frontend/src/app/features/work-packages/components/wp-timer-button/wp-timer-button.component.ts+++ b/frontend/src/app/features/work-packages/components/wp-timer-button/wp-timer-button.component.ts@@ -68,6 +68,7 @@ import { TurboRequestsService } from 'core-app/core/turbo/turbo-requests.service@Component({selector: 'op-wp-timer-button',templateUrl: './wp-timer-button.component.html',+ styleUrls: ['./wp-timer-button.component.sass'],changeDetection: ChangeDetectionStrategy.OnPush,})export class WorkPackageTimerButtonComponent extends UntilDestroyedMixin implements AfterViewInit, OnDestroy {