diff --git a/alfa-client/libs/binary-file/src/lib/binary-file2-container/binary-file2/binary-file2.component.html b/alfa-client/libs/binary-file/src/lib/binary-file2-container/binary-file2/binary-file2.component.html index 96649fe7e109161f7b6914100993de1046b4fed4..289539503e057e738ad286eb176a044d15eb48ed 100644 --- a/alfa-client/libs/binary-file/src/lib/binary-file2-container/binary-file2/binary-file2.component.html +++ b/alfa-client/libs/binary-file/src/lib/binary-file2-container/binary-file2/binary-file2.component.html @@ -6,10 +6,10 @@ [attr.aria-label]="'Anhang: Dateiname: ' + file.name" [isLoading]="isLoading" > - <div close class="flex-shrink"> + <div close class="flex-shrink self-center"> <button *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()" title="Anhang löschen" aria-label="Anhang löschen Button" diff --git a/alfa-client/libs/design-system/src/lib/attachment/attachment.component.ts b/alfa-client/libs/design-system/src/lib/attachment/attachment.component.ts index 86e720a1be39ecdbf98e8abadcc01d92d351896c..c3f5831c0c4623c4c08744d0c18eaf38e76c5c34 100644 --- a/alfa-client/libs/design-system/src/lib/attachment/attachment.component.ts +++ b/alfa-client/libs/design-system/src/lib/attachment/attachment.component.ts @@ -10,17 +10,15 @@ import { SpinnerIconComponent } from '../icons/spinner-icon/spinner-icon.compone imports: [CommonModule, SpinnerIconComponent, FileIconComponent], styles: [':host {@apply flex border-b border-black/25 last:border-b-0}'], 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-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"> - sdfsdfsdfsdfkdsjfdshfkjsdjfkhsdjkfhkjdsfhkjsdhfjksdhjfkhsdjkfhdsjkfhdjskhfjksdhfj{{ - documentName - }} + {{ documentName }} </p> <p class="text-xs text-ozggray-600">{{ description }}</p> </div>