Skip to content
Snippets Groups Projects
Commit 92f2ae49 authored by Oliver Schmidt's avatar Oliver Schmidt
Browse files

OZG-725-7934 opt layout

parent 60e83102
Branches
Tags
1 merge request!103OZG-725-ui-styling
...@@ -57,7 +57,7 @@ type TextInputVariants = VariantProps<typeof textInputVariants>; ...@@ -57,7 +57,7 @@ type TextInputVariants = VariantProps<typeof textInputVariants>;
<label *ngIf="showLabel" [for]="id" class="text-md mb-2 block font-medium text-text"> <label *ngIf="showLabel" [for]="id" class="text-md mb-2 block font-medium text-text">
{{ inputLabel }}<ng-container *ngIf="required"><i aria-hidden="true">*</i></ng-container> {{ inputLabel }}<ng-container *ngIf="required"><i aria-hidden="true">*</i></ng-container>
</label> </label>
<div class="mt-2">
<div *ngIf="withPrefix" class="pointer-events-none absolute bottom-2 left-2 flex size-6 items-center justify-center"> <div *ngIf="withPrefix" class="pointer-events-none absolute bottom-2 left-2 flex size-6 items-center justify-center">
<ng-content select="[prefix]" /> <ng-content select="[prefix]" />
</div> </div>
...@@ -77,7 +77,7 @@ type TextInputVariants = VariantProps<typeof textInputVariants>; ...@@ -77,7 +77,7 @@ type TextInputVariants = VariantProps<typeof textInputVariants>;
<div *ngIf="withSuffix" class="absolute bottom-2 right-2 flex size-6 items-center justify-center"> <div *ngIf="withSuffix" class="absolute bottom-2 right-2 flex size-6 items-center justify-center">
<ng-content select="[suffix]" /> <ng-content select="[suffix]" />
</div> </div>
</div>
<ng-content select="[error]"></ng-content> <ng-content select="[error]"></ng-content>
</div> </div>
`, `,
......
...@@ -33,18 +33,14 @@ export enum ForwardingDirection { ...@@ -33,18 +33,14 @@ export enum ForwardingDirection {
selector: 'ods-forwarding-item', selector: 'ods-forwarding-item',
standalone: true, standalone: true,
imports: [ForwardVorgangIconComponent], imports: [ForwardVorgangIconComponent],
template: ` <div class="block h-full rounded-lg border border-grayborder"> template: ` <div class="h-full rounded-lg border border-grayborder">
<div class="flex flex-col items-start justify-between gap-2 p-3 md:flex-row md:items-center md:gap-0"> <div class="flex flex-col gap-3 p-3 align-top sm:flex-row">
<div class="flex flex-1 gap-3"> <div class="flex gap-3">
<ods-forward-vorgang-icon class="fill-text" /> <ods-forward-vorgang-icon class="fill-text" />
<p class="text-gray-500">{{ direction }}:</p> <div class="font-medium text-gray-500">{{ direction }}:</div>
<div class="mt-[-8px] w-full">
<ng-content />
</div>
</div>
<div class="text-end empty:hidden">
<ng-content select="[end-content]" />
</div> </div>
<div class="grow"><ng-content /></div>
<div class="flex items-center"><ng-content select="[end-content]" /></div>
</div> </div>
</div>`, </div>`,
}) })
......
<div class="w-[860px] flex flex-col max-w-full max-h-full rounded-lg bg-background-50 p-8 "> <div class="flex max-h-full w-[860px] max-w-full flex-col rounded-lg bg-background-50 p-6 shadow-md">
<div class="flex items-center justify-between mb-4"> <div class="mb-4 flex items-center justify-between">
<h1 class="text-xl font-semibold text-primary">Vorgang weiterleiten</h1> <h1 class="text-lg font-medium text-primary">Vorgang weiterleiten</h1>
<ods-cancel-dialog-button showAsIconButton="true" /> <ods-cancel-dialog-button showAsIconButton="true" />
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment