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

[#43260] fixed PR comments about BEM style

Eric Schubert59eeaa01ffe1
diff --git a/frontend/src/app/shared/components/file-links/file-link-list-item/file-link-list-item.html b/frontend/src/app/shared/components/file-links/file-link-list-item/file-link-list-item.html
index 1e703b75318..ad1312db769 100644
--- a/frontend/src/app/shared/components/file-links/file-link-list-item/file-link-list-item.html
+++ b/frontend/src/app/shared/components/file-links/file-link-list-item/file-link-list-item.html
@@ -1,6 +1,6 @@
<div
class="spot-list--item-floating-wrapper op-files-tab--file-list-item-floating-wrapper"
- [ngClass]="{ 'no-hover': disabled }"
+ [ngClass]="{ 'op-files-tab--file-list-item-floating-wrapper_disabled': disabled }"
>
<a
class="spot-list--item-action spot-list--item-action_link op-files-tab--file-list-item-action"
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 497e1e25154..be201e0a2d6 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
@@ -1,4 +1,4 @@
-<span class="spot-icon big spot-icon_{{viewModel.iconClass}}"></span>
+<span class="spot-icon spot-icon_{{viewModel.iconClass}} op-files-tab--storage-info-box-icon"></span>
<div
class="text-box"
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 8a98aeaf6f9..14c719cf5b4 100644
--- a/frontend/src/global_styles/content/work_packages/tabs/_files.sass
+++ b/frontend/src/global_styles/content/work_packages/tabs/_files.sass
@@ -71,8 +71,9 @@
.op-files-tab--file-list-item-floating-actions
padding-right: 0
- .op-files-tab--file-list-item-floating-wrapper.no-hover:hover
- background: none
+ .op-files-tab--file-list-item-floating-wrapper
+ &_disabled:hover
+ background: none
.op-files-tab--file-list-item-floating-text
@include spot-body-small()
@@ -90,7 +91,7 @@
align-items: center
grid-template: "icon text" "button button" / auto 1fr
- .spot-icon.big
+ &-icon
color: #9A9A9A
grid-area: icon
width: 3.375rem