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

OZG-725-7934 opt responsive layout

parent 9da11037
No related branches found
No related tags found
1 merge request!103OZG-725-ui-styling
...@@ -5,9 +5,11 @@ import { Component } from '@angular/core'; ...@@ -5,9 +5,11 @@ import { Component } from '@angular/core';
standalone: true, standalone: true,
imports: [], imports: [],
template: ` template: `
<div class="max-h-full w-[860px] max-w-full rounded-lg bg-background-50 p-6 shadow-md"> <div class="static flex w-[calc(50vw)] flex-col">
<div class="flex grow flex-col rounded-lg bg-background-50 p-6 shadow-md">
<ng-content /> <ng-content />
</div> </div>
</div>
`, `,
}) })
export class DialogContainerComponent {} export class DialogContainerComponent {}
<ods-button-with-spinner <ods-button-with-spinner
[disabled]="disabled" [disabled]="disabled"
text="Weiterleiten" text="Jetzt weiterleiten"
[tooltip]="tooltip" [tooltip]="tooltip"
tooltipPosition="above" tooltipPosition="above"
dataTestId="forwarding-dialog-button" dataTestId="forwarding-dialog-button"
......
<ods-dialog-container> <ods-dialog-container>
<div class="flex flex-col"> <div class="flex grow flex-col gap-6">
<div class="mb-4 flex items-center justify-between"> <div class="flex items-center justify-between">
<h1 class="text-lg font-medium 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>
<div class="mb-6" style="height: calc(50vh + 4.5rem)"> <div class="h-[calc(50vh+4.5rem)] grow">
@if (!selectedSearchResult) { @if (!selectedSearchResult) {
<alfa-forwarding-search-organisations-einheit cdkFocusInitial data-test-id="organisations-einheit-search" /> <alfa-forwarding-search-organisations-einheit cdkFocusInitial data-test-id="organisations-einheit-search" />
} @else { } @else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment