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

OZG-5590 OZG5596 fix attachment

parent ed353752
No related branches found
No related tags found
No related merge requests found
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
[attr.aria-label]="'Anhang: Dateiname: ' + file.name" [attr.aria-label]="'Anhang: Dateiname: ' + file.name"
[isLoading]="isLoading" [isLoading]="isLoading"
> >
<div close class="flex-shrink"> <div close class="flex-shrink self-center">
<button <button
*ngIf="deletable" *ngIf="deletable"
class="flex size-10 items-center justify-center self-center rounded-md hover:border hover:border-ozggray-600 hover:bg-ozggray-100" class="flex size-10 items-center justify-center rounded-md hover:border hover:border-ozggray-600 hover:bg-ozggray-100"
(click)="deleteFile()" (click)="deleteFile()"
title="Anhang löschen" title="Anhang löschen"
aria-label="Anhang löschen Button" aria-label="Anhang löschen Button"
......
...@@ -10,17 +10,15 @@ import { SpinnerIconComponent } from '../icons/spinner-icon/spinner-icon.compone ...@@ -10,17 +10,15 @@ import { SpinnerIconComponent } from '../icons/spinner-icon/spinner-icon.compone
imports: [CommonModule, SpinnerIconComponent, FileIconComponent], imports: [CommonModule, SpinnerIconComponent, FileIconComponent],
styles: [':host {@apply flex border-b border-black/25 last:border-b-0}'], styles: [':host {@apply flex border-b border-black/25 last:border-b-0}'],
template: `<button template: `<button
class="relative flex w-full items-center gap-3 border-b bg-background-100 px-3 py-2 hover:bg-ozggray-200" class="relative flex w-full items-start gap-3 border-b bg-background-100 px-3 py-2 hover:bg-ozggray-200"
> >
<div class="flex-shrink self-start"> <div class="flex-shrink">
<ods-file-icon *ngIf="!isLoading" [fileType]="fileType" size="large" /> <ods-file-icon *ngIf="!isLoading" [fileType]="fileType" size="large" />
<ods-spinner-icon *ngIf="isLoading" size="large" /> <ods-spinner-icon *ngIf="isLoading" size="large" />
</div> </div>
<div class="flex grow flex-col items-start break-all text-text"> <div class="flex grow flex-col items-start break-all text-text">
<p class="text-start text-sm"> <p class="text-start text-sm">
sdfsdfsdfsdfkdsjfdshfkjsdjfkhsdjkfhkjdsfhkjsdhfjksdhjfkhsdjkfhdsjkfhdjskhfjksdhfj{{ {{ documentName }}
documentName
}}
</p> </p>
<p class="text-xs text-ozggray-600">{{ description }}</p> <p class="text-xs text-ozggray-600">{{ description }}</p>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment