@@ -94,7 +94,7 @@
См. также:
rel="noopener noreferrer"
>
{{ nested.title }} (на сайте госреестра)
-
+
@@ -105,7 +105,7 @@
См. также:
Открыть страницу объекта
-
+
@@ -115,7 +115,7 @@
См. также:
rel="noopener noreferrer"
>
Открыть страницу объекта на сайте госреестра
-
+
diff --git a/src/app/components/sight-card-more/sight-card-more.component.scss b/src/app/components/sight-card-more/sight-card-more.component.scss
index 1a36145..a967989 100644
--- a/src/app/components/sight-card-more/sight-card-more.component.scss
+++ b/src/app/components/sight-card-more/sight-card-more.component.scss
@@ -44,6 +44,11 @@
color: var(--label-primary);
}
}
+
+ .icon {
+ width: 100%;
+ height: 100%;
+ }
}
.sight-title {
diff --git a/src/app/components/sight-card-more/sight-card-more.component.spec.ts b/src/app/components/sight-card-more/sight-card-more.component.spec.ts
index 2f3d983..e7761ed 100644
--- a/src/app/components/sight-card-more/sight-card-more.component.spec.ts
+++ b/src/app/components/sight-card-more/sight-card-more.component.spec.ts
@@ -1,7 +1,6 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { RouterTestingModule } from '@angular/router/testing';
-import { IconsModule } from 'src/app/icons/icons.module';
import { SightCardMoreComponent } from './sight-card-more.component';
@@ -14,7 +13,6 @@ describe('SightCardMoreComponent', () => {
imports: [
HttpClientTestingModule,
RouterTestingModule.withRoutes([]),
- IconsModule,
],
declarations: [SightCardMoreComponent],
}).compileComponents();
diff --git a/src/app/components/sight-card-more/sight-card-more.component.ts b/src/app/components/sight-card-more/sight-card-more.component.ts
index c85253d..1685457 100644
--- a/src/app/components/sight-card-more/sight-card-more.component.ts
+++ b/src/app/components/sight-card-more/sight-card-more.component.ts
@@ -4,7 +4,8 @@ import {
OnInit,
OnDestroy,
Output,
- ɵmarkDirty as markDirty,
+ ChangeDetectionStrategy,
+ ChangeDetectorRef,
} from '@angular/core';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import { Subject } from 'rxjs';
@@ -26,6 +27,7 @@ import { FilterParamsStoreService } from 'src/app/store/filter-params-store.serv
selector: 'exogb-sight-card-more',
templateUrl: './sight-card-more.component.html',
styleUrls: ['./sight-card-more.component.scss'],
+ changeDetection: ChangeDetectionStrategy.OnPush,
})
export class SightCardMoreComponent implements OnInit, OnDestroy {
@Output() closeCard = new EventEmitter