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

[chore] fixed style flaws

Eric Schubert6e319ecc2457
diff --git a/frontend/src/app/shared/components/file-links/storage-information/storage-information.html b/frontend/src/app/shared/components/file-links/storage-information/storage-information.html
index 5c451de31d7..e493ee164ca 100644
--- a/frontend/src/app/shared/components/file-links/storage-information/storage-information.html
+++ b/frontend/src/app/shared/components/file-links/storage-information/storage-information.html
@@ -18,7 +18,7 @@
<div
class="button-box"
>
- <button class="button button_no-margin">
+ <button class="button op-files-tab--storage-info-box-button">
<op-icon icon-classes="button--icon spot-icon spot-icon_external-link" class="op-icon--wrapper">
<i class="button--icon spot-icon spot-icon_external-link"></i>
</op-icon>
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 21c747a7589..4fa99c048d8 100644
--- a/frontend/src/global_styles/content/work_packages/tabs/_files.sass
+++ b/frontend/src/global_styles/content/work_packages/tabs/_files.sass
@@ -75,6 +75,7 @@
@include spot-body-small()
padding-right: $spot-spacing-0-25
+ overflow: hidden
color: var(--primary-color)
.spot-icon:first-child:not(:last-child)
@@ -82,7 +83,7 @@
height: $spot-spacing-1-5
margin-right: $spot-spacing-0-25
- &.disabled
+ &.disabled .op-files-tab--file-list-item-action
opacity: 0.5
&--storage-info-box
@@ -116,8 +117,8 @@
display: flex
justify-content: end
- > .button_no-margin
- margin-top: $spot_spacing-0-75
+ &-button
+ margin: $spot_spacing-0-75 0 0
&--icon
&_pdf