}
diff --git a/libs/ui/src/lib/dialog-footer/dialog-footer.component.scss b/libs/ui/src/lib/dialog-footer/dialog-footer.component.scss
index 4268e83fab..0f41fc37bc 100644
--- a/libs/ui/src/lib/dialog-footer/dialog-footer.component.scss
+++ b/libs/ui/src/lib/dialog-footer/dialog-footer.component.scss
@@ -2,7 +2,6 @@
display: block;
button[mat-icon-button] {
- // Show the touch target of 48px, which the density of the theme hides
--mat-icon-button-touch-target-display: block;
}
}
diff --git a/libs/ui/src/lib/dialog-header/dialog-header.component.html b/libs/ui/src/lib/dialog-header/dialog-header.component.html
index 6345dff8a9..023548a562 100644
--- a/libs/ui/src/lib/dialog-header/dialog-header.component.html
+++ b/libs/ui/src/lib/dialog-header/dialog-header.component.html
@@ -10,7 +10,10 @@
>
@if (deviceType() !== 'mobile') {
}
diff --git a/libs/ui/src/lib/dialog-header/dialog-header.component.scss b/libs/ui/src/lib/dialog-header/dialog-header.component.scss
index 43aa12cf35..c7dbf3b951 100644
--- a/libs/ui/src/lib/dialog-header/dialog-header.component.scss
+++ b/libs/ui/src/lib/dialog-header/dialog-header.component.scss
@@ -2,16 +2,12 @@
display: block;
button[mat-icon-button] {
- // Move the button to the corner with the same distance to the top and to the right
margin-right: -0.8125rem;
- // Center the button on the title
margin-top: 0.125rem;
}
.with-close-button {
.text-center {
- // Compensate for the width of the button (1.75rem minus the negative
- // margin) to center the title in the dialog
padding-left: 0.9375rem;
}
}