ACS-8602 fix header alignment and replace old selectors with new

This commit is contained in:
Darya Balvanovich 2024-08-23 11:23:03 +02:00 committed by Darya Blavanovich
parent 9c68f68c0a
commit dd14a9349d

View File

@ -114,9 +114,7 @@ $dialog-padding: 24px;
}
.adf-dialog-header {
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: $dialog-padding;
@ -124,6 +122,16 @@ $dialog-padding: 24px;
align-items: flex-start;
}
.adf-dialog-title-container {
flex: 1;
&.adf-centered-title {
display: flex;
flex-direction: column;
align-items: center;
}
}
.adf-dialog-title {
font-size: large;
font-weight: 200;
@ -170,10 +178,6 @@ $dialog-padding: 24px;
bottom: 0;
}
#{$mat-dialog-title}::before {
display: none;
}
.adf-dialog-actions {
position: relative;
display: flex;
@ -277,14 +281,10 @@ $dialog-padding: 24px;
color: var(--theme-primary-color);
}
// TODO: Update after migration to Angular 15
/* stylelint-disable-next-line selector-class-pattern */
.mat-dialog-actions .mat-button-base + .mat-button-base {
#{$mat-dialog-actions} #{$mat-button-base} + #{$mat-button-base} {
margin-left: 16px;
}
// TODO: Update after migration to Angular 15
/* stylelint-disable-next-line selector-class-pattern */
.mat-dialog-container {
#{$mat-dialog-container} #{$mat-dialog-surface} {
border-radius: 8px;
}