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

[#43842] fixed spacing in project select list buttons

Eric Schubertcf06a7913eb8
diff --git a/frontend/src/app/features/invite-user-modal/project-selection/project-selection.component.html b/frontend/src/app/features/invite-user-modal/project-selection/project-selection.component.html
index 1ceaaa649e4..6ce9a6a7ddd 100644
--- a/frontend/src/app/features/invite-user-modal/project-selection/project-selection.component.html
+++ b/frontend/src/app/features/invite-user-modal/project-selection/project-selection.component.html
@@ -66,10 +66,10 @@
<div class="spot-action-bar--right">
<button
type="button"
- class="button button_no-margin spot-action-bar--action"
+ class="button spot-action-bar--action"
(click)="close.emit()"> {{ text.cancelButton }}
</button>
- <button class="button button_no-margin -highlight spot-action-bar--action">{{ text.nextButton }}</button>
+ <button class="button -highlight spot-action-bar--action">{{ text.nextButton }}</button>
</div>
</div>
diff --git a/frontend/src/app/shared/components/header-project-select/header-project-select.component.html b/frontend/src/app/shared/components/header-project-select/header-project-select.component.html
index b13f0896bef..eb81f8ccc4c 100644
--- a/frontend/src/app/shared/components/header-project-select/header-project-select.component.html
+++ b/frontend/src/app/shared/components/header-project-select/header-project-select.component.html
@@ -70,25 +70,19 @@
<div class="spot-action-bar">
<div class="spot-action-bar--right">
<a
- class="button button_no-margin spot-action-bar--action"
+ class="button spot-action-bar--action"
[href]="allProjectsPath()"
>
- <i class="button--icon spot-icon spot-icon_unordered-list"></i>
- <span
- class="button--text"
- [textContent]="text.project.list"
- ></span>
+ <span class="spot-icon spot-icon_unordered-list"></span>
+ <span [textContent]="text.project.list"></span>
</a>
<a
*ngIf="canCreateNewProjects$ | async"
- class="button button_no-margin -alt-highlight spot-action-bar--action"
+ class="button -alt-highlight spot-action-bar--action"
[href]="newProjectPath()"
>
- <i class="button--icon spot-icon spot-icon_add"></i>
- <span
- class="button--text"
- [textContent]="text.project.singular"
- ></span>
+ <span class="spot-icon spot-icon_add"></span>
+ <span [textContent]="text.project.singular"></span>
</a>
</div>
</div>
diff --git a/frontend/src/app/spot/styles/sass/components/action-bar.sass b/frontend/src/app/spot/styles/sass/components/action-bar.sass
index 8d4f50988a6..b5c0a4c69d9 100644
--- a/frontend/src/app/spot/styles/sass/components/action-bar.sass
+++ b/frontend/src/app/spot/styles/sass/components/action-bar.sass
@@ -4,7 +4,7 @@
padding: 0 $spot-spacing-1 $spot-spacing-0_75 0
background-color: $spot-color-basic-gray-6
- &__transparent
+ &_transparent
background-color: unset
&--left,
diff --git a/frontend/src/stories/ActionBar.example.html b/frontend/src/stories/ActionBar.example.html
index b28eaec3b43..5de75296fce 100644
--- a/frontend/src/stories/ActionBar.example.html
+++ b/frontend/src/stories/ActionBar.example.html
@@ -4,7 +4,7 @@
class="spot-link spot-action-bar--action"
href="#"
>
- <span class="spot-icon spot-icon_cancel"></span>
+ <span class="spot-icon spot-icon_external-link"></span>
<span>Side action</span>
</a>
</div>
diff --git a/frontend/src/stories/ActionBarNoSIdeOption.example.html b/frontend/src/stories/ActionBarNoSIdeOption.example.html
index 4c5629d6ea6..ca0d2b647a9 100644
--- a/frontend/src/stories/ActionBarNoSIdeOption.example.html
+++ b/frontend/src/stories/ActionBarNoSIdeOption.example.html
@@ -4,13 +4,13 @@
type="button"
class="spot-action-bar--action button"
>
- <span [textContent]="'Cancel'"></span>
+ <span>Cancel</span>
</button>
<button
type="button"
class="spot-action-bar--action button -highlight"
>
- <span [textContent]="'Next'"></span>
+ <span>Next</span>
</button>
</div>
</div>
diff --git a/frontend/src/stories/ActionBarTransparent.example.html b/frontend/src/stories/ActionBarTransparent.example.html
index a820aaac152..99556186192 100644
--- a/frontend/src/stories/ActionBarTransparent.example.html
+++ b/frontend/src/stories/ActionBarTransparent.example.html
@@ -1,10 +1,10 @@
-<div class="spot-action-bar spot-action-bar__transparent">
+<div class="spot-action-bar spot-action-bar_transparent">
<div class="spot-action-bar--left">
<a
class="spot-link spot-action-bar--action"
href="#"
>
- <span [textContent]="'Side action'"></span>
+ <span>Side action</span>
</a>
</div>
<div class="spot-action-bar--right">
@@ -12,7 +12,7 @@
type="button"
class="spot-action-bar--action button"
>
- <span [textContent]="'Cancel'"></span>
+ <span>Cancel</span>
</button>
<button
type="button"