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

OZG-5590 fix Attachments icon position

parent 4675fab3
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<div close class="flex-shrink"> <div close class="flex-shrink">
<button <button
*ngIf="deletable" *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()" (click)="deleteFile()"
title="Anhang löschen" title="Anhang löschen"
aria-label="Anhang löschen Button" aria-label="Anhang löschen Button"
......
...@@ -12,12 +12,16 @@ import { SpinnerIconComponent } from '../icons/spinner-icon/spinner-icon.compone ...@@ -12,12 +12,16 @@ import { SpinnerIconComponent } from '../icons/spinner-icon/spinner-icon.compone
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-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-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">{{ documentName }}</p> <p class="text-start text-sm">
sdfsdfsdfsdfkdsjfdshfkjsdjfkhsdjkfhkjdsfhkjsdhfjksdhjfkhsdjkfhdsjkfhdjskhfjksdhfj{{
documentName
}}
</p>
<p class="text-xs text-ozggray-600">{{ description }}</p> <p class="text-xs text-ozggray-600">{{ description }}</p>
</div> </div>
<ng-content select="[close]" *ngIf="!isLoading"></ng-content> <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