[ACS-12390] Fix overlapped search input after resizing (#5335)

This commit is contained in:
AleksanderSklorz
2026-08-13 11:17:52 +02:00
committed by GitHub
parent 7a576dd5b7
commit 4275cd3b23
3 changed files with 14 additions and 15 deletions
@@ -62,7 +62,7 @@ import { TagsColumnComponent } from './components/dl-custom-components/tags-colu
import { UserInfoComponent } from './components/common/user-info/user-info.component';
import { SidenavComponent } from './components/sidenav/sidenav.component';
import { ContentManagementService } from './services/content-management.service';
import { SHELL_NAVBAR_MIN_WIDTH, ShellLayoutComponent } from '@alfresco/adf-core/shell';
import { SHELL_NAVBAR_MIN_WIDTH, SHELL_NAVBAR_SMALL_SCREEN_BREAKPOINT, ShellLayoutComponent } from '@alfresco/adf-core/shell';
import { UserMenuComponent } from './components/sidenav/user-menu/user-menu.component';
import { MAT_DIALOG_DEFAULT_OPTIONS } from '@angular/material/dialog';
import { SearchResultsRowComponent } from './components/search/search-results-row/search-results-row.component';
@@ -82,6 +82,7 @@ import { IsFeatureSupportedInCurrentAcsPipe } from './pipes/is-feature-supported
provideFolderRulesExtension(),
provideTranslations('app', 'assets'),
{ provide: SHELL_NAVBAR_MIN_WIDTH, useValue: 0 },
{ provide: SHELL_NAVBAR_SMALL_SCREEN_BREAKPOINT, useValue: 793 },
{
provide: MAT_DIALOG_DEFAULT_OPTIONS,
useValue: { closeOnNavigation: true, hasBackdrop: true, autoFocus: true }
@@ -51,6 +51,18 @@ $search-border-radius: 4px;
font-size: 16px;
line-height: calc($search-height / 2);
}
@media screen and (width <= 840px) {
.app-input-form-field {
width: 450px;
}
}
@media screen and (width <= 521px) {
.app-input-form-field {
width: 444px;
}
}
}
.aca-search-input--suffix {
@@ -73,18 +85,6 @@ $search-border-radius: 4px;
}
}
@media screen and (width <= 959px) {
$search-width-small: 400px;
.aca-search-input {
max-width: $search-width-small;
}
.app-search-container {
max-width: $search-width-small;
}
}
@media screen and (width <= 599px) {
.aca-search-input {
max-width: 220px;
@@ -18,8 +18,6 @@ body:has(aca-search-results) {
aca-search-results {
.aca-content-header {
overflow-x: auto;
@include mat.icon-button-overrides(
(
icon-color: var(--theme-foreground-text-color)