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

OZG-4706 OZG-4758 Refactor layout

parent e887c436
No related branches found
No related tags found
No related merge requests found
Showing
with 12 additions and 20 deletions
<mat-icon *ngIf="icon" data-test-class="icon"
[class.with-text]="text"
[style.visibility]="isDisabled ? 'hidden' : 'visible'">
{{ icon }}
</mat-icon>
<mat-icon *ngIf="svgIcon" data-test-class="icon"
[class.with-text]="text"
[svgIcon]="svgIcon"
[style.visibility]="isDisabled ? 'hidden' : 'visible'">
</mat-icon>
......
......@@ -6,7 +6,7 @@ $rightMargin: 8px;
justify-content: center;
}
mat-icon {
mat-icon.with-text {
margin-right: $rightMargin;
}
......
......@@ -28,3 +28,9 @@
font-size: 16px;
font-weight: 400;
}
// Workaround Material's fixed 48px height
:host ::ng-deep ozgcloud-icon-button-primary button {
position: absolute;
top: -24px;
}
\ No newline at end of file
......@@ -23,8 +23,8 @@
unter der Lizenz sind dem Lizenztext zu entnehmen.
-->
<h1 *ngIf="vorgangStateResource.resource as vorgang">
<span *ngIf="vorgangStateResource.resource as vorgang">
<a routerLink='/vorgang/{{ vorgang | toResourceUri }}' alfa-aktenzeichen [vorgang]="vorgang"></a>
<span>/</span>
<span>Nachrichten</span>
</h1>
\ No newline at end of file
</span>
\ No newline at end of file
......@@ -43,12 +43,4 @@
background-color: rgba(#777, 0.16);
}
}
h1 {
font-size: inherit;
font-weight: inherit;
display: inline-block;
margin: 0 4px;
padding: 0;
}
}
......@@ -27,4 +27,4 @@
<span>/</span>
<span>Wiedervorlagen</span>
<span>/</span>
<h1>{{ betreff }}</h1>
<span>{{ betreff }}</span>
......@@ -43,12 +43,4 @@
background-color: rgba(#777, 0.16);
}
}
h1 {
font-size: inherit;
font-weight: inherit;
display: inline-block;
margin: 0 4px;
padding: 0;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment