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
Reuse existing styles
Christophe Bliardee42d6c9918d
diff --git a/frontend/src/app/shared/components/fields/display/info/op-exclusion-info.component.html b/frontend/src/app/shared/components/fields/display/info/op-exclusion-info.component.htmlindex d2c17c901a8..8944b6e6a59 100644--- a/frontend/src/app/shared/components/fields/display/info/op-exclusion-info.component.html+++ b/frontend/src/app/shared/components/fields/display/info/op-exclusion-info.component.html@@ -2,7 +2,6 @@[opened]="opened"(closed)="opened = false"class="op-exclusion-info"- alignment="bottom-end"><svgslot="trigger"@@ -12,22 +11,25 @@(click)="toggleOpen($event)"></svg>- <ng-container slot="body">+ <ng-container slot="body" class="op-exclusion-info--modal"><div class="op-exclusion-info--modal">- <div class="op-exclusion-info--modal-header">- Status excluded from hierarchy totals+ <div class="spot-drop-modal--header">+ <div class="spot-drop-modal--header-title"> Status excluded from hierarchy totals</div>+</div>- <div class="op-exclusion-info--modal-content">+ <div class="spot-drop-modal--content">The status 'Rejected (TODO: replace me)' has been configured to be excluded from hierarchytotals of Work, Remaining work, and % Complete. The totals do not takethis value into account.</div>- <div class="op-exclusion-info--modal-buttons">- <button- (click)="toggleOpen($event)"- class="button">- Close- </button>+ <div class="spot-action-bar">+ <div class="spot-action-bar--left">+ <button+ (click)="toggleOpen($event)"+ class="button">+ Close+ </button>+ </div></div></div></ng-container>diff --git a/frontend/src/app/shared/components/fields/display/info/op-exclusion-info.component.sass b/frontend/src/app/shared/components/fields/display/info/op-exclusion-info.component.sassindex 424f9942258..ae629081de1 100644--- a/frontend/src/app/shared/components/fields/display/info/op-exclusion-info.component.sass+++ b/frontend/src/app/shared/components/fields/display/info/op-exclusion-info.component.sass@@ -12,28 +12,10 @@@media screen and (min-width: $breakpoint-lg)&--modal- width: 200px+ width: 240px&--modal- color: var(--fgColor-default)- display: flex- flex-direction: column- font-family: var(--body-font-family)- gap: 1rem- margin: 1.5rem+ margin: 0.5rem- &-header- font-size: 14px+ & .spot-drop-modal--header-titleline-height: 20px- font-weight: 600-- &-content- font-size: 14px- line-height: 20px-- &-buttons- display: flex- flex-direction: row-- & button- margin: 0diff --git a/frontend/src/app/spot/styles/sass/components/action-bar.sass b/frontend/src/app/spot/styles/sass/components/action-bar.sassindex 89f88adc337..c3cd906dbb6 100644--- a/frontend/src/app/spot/styles/sass/components/action-bar.sass+++ b/frontend/src/app/spot/styles/sass/components/action-bar.sass@@ -16,7 +16,6 @@flex-wrap: wrapalign-items: centerjustify-content: flex-end- margin-top: -$spot-spacing-0_25> .spot-action-bar--action// We need to set the margins on the buttons itself because