[ACA-4712] changes required to disallow using important for styles in aca (#8785)

* ACA-4712 Changed floating labels

* ACA-4712 Fixed cut off icon
This commit is contained in:
AleksanderSklorz 2023-07-25 23:02:39 +02:00 committed by GitHub
parent 80a6dadbfa
commit fee60cd4ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 6 deletions

View File

@ -31,7 +31,7 @@
[style.display]="isExpiryDateToggleChecked ? 'block' : 'none'" [style.display]="isExpiryDateToggleChecked ? 'block' : 'none'"
data-automation-id="adf-slide-toggle-checked" data-automation-id="adf-slide-toggle-checked"
class="adf-share-link__date-time-container"> class="adf-share-link__date-time-container">
<mat-form-field class="adf-full-width adf-float-label" floatLabel='always'> <mat-form-field class="adf-full-width adf-float-label" floatLabel='never'>
<mat-label>{{ 'SHARE.EXPIRATION-PLACEHOLDER' | translate }}</mat-label> <mat-label>{{ 'SHARE.EXPIRATION-PLACEHOLDER' | translate }}</mat-label>
<mat-datepicker-toggle <mat-datepicker-toggle
[disabled]="time.disabled" [disabled]="time.disabled"
@ -69,7 +69,7 @@
</div> </div>
<mat-form-field <mat-form-field
class="adf-full-width adf-float-label" class="adf-full-width adf-float-label"
floatLabel='always' floatLabel='never'
[ngClass]="isLinkWithExpiryDate? 'adf-share-link__border-color' : ''"> [ngClass]="isLinkWithExpiryDate? 'adf-share-link__border-color' : ''">
<input <input
#sharedLinkInput #sharedLinkInput

View File

@ -20,10 +20,14 @@
} }
.adf-datatable-list { .adf-datatable-list {
.adf-datatable-selected > svg { .adf-datatable-selected {
fill: var(--theme-accent-color); overflow: unset;
width: 30px;
height: 30px; & > svg {
fill: var(--theme-accent-color);
width: 30px;
height: 30px;
}
} }
} }