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 existing class for adding spacing to the left side of banner in a board && take care that the texts have the same styling
Henriette Darge0e544a8b9328
diff --git a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.html b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.htmlindex a583b21e8c5..bb3d0a9826b 100644--- a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.html+++ b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.html@@ -40,15 +40,14 @@</div></div></div>- <div class="boards-list--ee-banner"- *ngIf="eeShowBanners">- <op-enterprise-banner- [moreInfoText]="text.more_info_text"- [moreInfoLink]="text.more_info_link"- [leftMargin]="true"- [linkMessage]="text.upgrade_to_ee_text"- [textMessage]="text.teaser_text"- opReferrer="boards#board-show">- </op-enterprise-banner>- </div>-</ng-container>\ No newline at end of file++ <op-enterprise-banner+ *ngIf="eeShowBanners"+ [moreInfoText]="text.more_info_text"+ [moreInfoLink]="text.more_info_link"+ [leftMargin]="true"+ [linkMessage]="text.upgrade_to_ee_text"+ [textMessage]="text.teaser_text"+ opReferrer="boards#board-show">+ </op-enterprise-banner>+</ng-container>diff --git a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.sass b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.sassindex de87893b3ff..05673d8049b 100644--- a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.sass+++ b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.sass@@ -65,6 +65,3 @@ $board-list-top-offset: 18px.boards-list--tooltipalign-self: startmargin-top: $board-list-top-offset--.boards-list--ee-banner- padding-left: 20px\ No newline at end of filediff --git a/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.html b/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.htmlindex c91a0b18ef7..39382f1ef2e 100644--- a/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.html+++ b/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.html@@ -15,9 +15,9 @@<span class="op-enterprise-banner--description op-enterprise-banner--description" [innerHtml]="textMessage"></span>- <strong [textContent]="text.become_hero"></strong> -- <span [textContent]="text.you_contribute"></span>+ <span class="op-enterprise-banner--description">+ <strong [textContent]="text.become_hero"></strong> {{text.you_contribute}}+ </span><div class="op-enterprise-banner--buttons"><adiff --git a/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.sass b/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.sassindex fa2e2349286..080145b8313 100644--- a/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.sass+++ b/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.sass@@ -8,12 +8,14 @@margin-top: 10px&--description- margin-bottom: 10pxdisplay: blockfont-size: 14pxfont-weight: 400line-height: 16px+ &:first-of-type+ margin-bottom: 10px+&--imagewidth: 115pxheight: 75px@@ -27,4 +29,3 @@&--info-buttonpadding-top: 20pxpadding-right: 25px-diff --git a/frontend/src/global_styles/content/_toast.sass b/frontend/src/global_styles/content/_toast.sassindex 6b4f702946b..84b2e304eb1 100644--- a/frontend/src/global_styles/content/_toast.sass+++ b/frontend/src/global_styles/content/_toast.sass@@ -137,6 +137,9 @@ $nm-upload-box-padding: rem-calc(15) rem-calc(25)&.-ee-upsalez-index: 1+ &.-left-margin+ margin-left: 20px+&.-error@extend %error-placeholder&::before