diff --git a/packages/geo/src/lib/search/search-results/search-results.component.html b/packages/geo/src/lib/search/search-results/search-results.component.html index d4173484eb..260f60e209 100644 --- a/packages/geo/src/lib/search/search-results/search-results.component.html +++ b/packages/geo/src/lib/search/search-results/search-results.component.html @@ -1,4 +1,4 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ 'igo.geo.search.displayMoreResults' | translate }} + + + \ No newline at end of file diff --git a/packages/geo/src/lib/search/search-results/search-results.component.scss b/packages/geo/src/lib/search/search-results/search-results.component.scss index c2ea7f58a6..c80225ba47 100644 --- a/packages/geo/src/lib/search/search-results/search-results.component.scss +++ b/packages/geo/src/lib/search/search-results/search-results.component.scss @@ -8,4 +8,8 @@ igo-list ::ng-deep mat-list { height: 100%; + .custom-tabs-view .mat-tab-header-pagination { + min-width: 20px; + } } + diff --git a/packages/geo/src/lib/search/search-results/search-results.component.ts b/packages/geo/src/lib/search/search-results/search-results.component.ts index ec30ed98cd..8353dae8be 100644 --- a/packages/geo/src/lib/search/search-results/search-results.component.ts +++ b/packages/geo/src/lib/search/search-results/search-results.component.ts @@ -82,6 +82,11 @@ export class SearchResultsComponent implements OnInit, OnDestroy { */ @Input() withZoomButton = false; + /** + * To check if the view for tabsMode for search-result-tools + */ + @Input() tabsMode: boolean = false; + /** * Search term */ diff --git a/packages/geo/src/lib/search/search-results/search-results.module.ts b/packages/geo/src/lib/search/search-results/search-results.module.ts index 529232716a..30fb21b6cd 100644 --- a/packages/geo/src/lib/search/search-results/search-results.module.ts +++ b/packages/geo/src/lib/search/search-results/search-results.module.ts @@ -6,6 +6,7 @@ import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; import { MatListModule } from '@angular/material/list'; import { MatTooltipModule } from '@angular/material/tooltip'; +import { MatTabsModule } from '@angular/material/tabs'; import { MatDialogModule } from '@angular/material/dialog'; import { MatFormFieldModule } from '@angular/material/form-field'; import { ReactiveFormsModule } from '@angular/forms'; @@ -38,6 +39,7 @@ import { SaveFeatureDialogComponent } from './save-feature-dialog.component'; MatIconModule, MatListModule, MatButtonModule, + MatTabsModule, MatDialogModule, IgoCollapsibleModule, IgoListModule,