diff --git a/frontend/src/app/shared/components/attachments/attachment-list/attachment-list-item.html b/frontend/src/app/shared/components/attachments/attachment-list/attachment-list-item.html index 8e83c118fe..2024b80152 100644 --- a/frontend/src/app/shared/components/attachments/attachment-list/attachment-list-item.html +++ b/frontend/src/app/shared/components/attachments/attachment-list/attachment-list-item.html @@ -5,16 +5,17 @@ target="_blank" (dragstart)="setDragData($event)" > - - - + > + + + + - - - + [title]="fileLink.originData.name" + > + + + + - - + [title]="content.name" + > + + + + &-floating-actions, &-floating-actions:focus-within, &-floating-actions:hover diff --git a/frontend/src/global_styles/content/work_packages/shared/_file_list.sass b/frontend/src/global_styles/content/work_packages/shared/_file_list.sass index a3076c3157..51272d6d55 100644 --- a/frontend/src/global_styles/content/work_packages/shared/_file_list.sass +++ b/frontend/src/global_styles/content/work_packages/shared/_file_list.sass @@ -33,25 +33,16 @@ &-action text-decoration: none - &.view-not-allowed - opacity: 0.5 - - &.disabled - color: $spot-color-basic-gray-3 - opacity: 0.5 - pointer-events: none - - .op-files-tab--icon - color: $spot-color-basic-gray-3 - &:hover .op-file-list--item-title text-decoration: underline + &-action_view-not-allowed &-title + opacity: 0.5 + &-title @include spot-body-small - line-height: $spot-spacing-1_5 word-break: normal @include text-shortener padding-right: $spot-spacing-0_5