Skip to content
Snippets Groups Projects
Commit ed353752 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-5590 fix Attachments icon position

parent 4675fab3
Branches
Tags
No related merge requests found
......@@ -9,7 +9,7 @@
<div close class="flex-shrink">
<button
*ngIf="deletable"
class="flex size-10 items-center justify-center rounded-md hover:border hover:border-ozggray-600 hover:bg-ozggray-100"
class="flex size-10 items-center justify-center self-center rounded-md hover:border hover:border-ozggray-600 hover:bg-ozggray-100"
(click)="deleteFile()"
title="Anhang löschen"
aria-label="Anhang löschen Button"
......
......@@ -12,12 +12,16 @@ import { SpinnerIconComponent } from '../icons/spinner-icon/spinner-icon.compone
template: `<button
class="relative flex w-full items-center gap-3 border-b bg-background-100 px-3 py-2 hover:bg-ozggray-200"
>
<div class="flex-shrink">
<div class="flex-shrink self-start">
<ods-file-icon *ngIf="!isLoading" [fileType]="fileType" size="large" />
<ods-spinner-icon *ngIf="isLoading" size="large" />
</div>
<div class="flex grow flex-col items-start break-all text-text">
<p class="text-start text-sm">{{ documentName }}</p>
<p class="text-start text-sm">
sdfsdfsdfsdfkdsjfdshfkjsdjfkhsdjkfhkjdsfhkjsdhfjksdhjfkhsdjkfhdsjkfhdjskhfjksdhfj{{
documentName
}}
</p>
<p class="text-xs text-ozggray-600">{{ description }}</p>
</div>
<ng-content select="[close]" *ngIf="!isLoading"></ng-content>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment