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

Fixed layout for add-file-link button in files tab

Andreas Pfohl5be56db06ecb
diff --git a/frontend/src/global_styles/content/work_packages/tabs/_files.sass b/frontend/src/global_styles/content/work_packages/tabs/_files.sass
index 17ce09f361e..21b6c3bd9db 100644
--- a/frontend/src/global_styles/content/work_packages/tabs/_files.sass
+++ b/frontend/src/global_styles/content/work_packages/tabs/_files.sass
@@ -95,9 +95,6 @@
&--file-list &--file-list-item &--file-list-item-floating-text
padding-right: $spot-spacing-0-5
- &-actions > &-action-button:not(:last-child)
- margin-right: $spot-spacing-1
-
&--file-list &--file-list-item &--file-list-item-action
padding-left: 0
padding-right: 0
diff --git a/frontend/src/global_styles/content/work_packages/tabs/_tab_content.sass b/frontend/src/global_styles/content/work_packages/tabs/_tab_content.sass
index 92578ff616a..f6afba0789d 100644
--- a/frontend/src/global_styles/content/work_packages/tabs/_tab_content.sass
+++ b/frontend/src/global_styles/content/work_packages/tabs/_tab_content.sass
@@ -40,9 +40,12 @@
.op-files-tab--file-list-actions
margin-top: $spot-spacing-0_75
+ > .op-files-tab--file-list-action-button:not(:first-child)
+ margin-left: $spot-spacing-1
+
&--header
border-bottom: 1px solid #ddd
- padding-bottom: $spot-spacing-0-75
+ padding-bottom: $spot-spacing-0_75
display: flex
align-items: center
@@ -54,4 +57,4 @@
.spot-icon
width: $spot-spacing-1_5
height: $spot-spacing-1_5
- margin-right: $spot-spacing-0-5
+ margin-right: $spot-spacing-0_5