Skip to content

Commit 4fbcc37

Browse files
authored
refactor: entity changes for api-dashboard (#978)
1 parent cea9d92 commit 4fbcc37

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

projects/observability/src/shared/components/entity-renderer/entity-renderer.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
@import 'font';
33

44
.ht-entity-renderer {
5+
display: flex;
6+
width: 100%;
7+
height: 100%;
8+
59
.name-with-icon {
610
display: flex;
711
flex-direction: row;

projects/observability/src/shared/components/entity-renderer/entity-renderer.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ import { EntityNavigationService } from '../../services/navigation/entity/entity
2020
</div>
2121
2222
<ng-template #nameWithLinkTemplate>
23-
<ht-link [paramsOrUrl]="this.navigationParams">
23+
<ht-link [paramsOrUrl]="this.navigationParams" class="fill-container">
2424
<ng-container *ngTemplateOutlet="nameTemplate"></ng-container>
2525
</ht-link>
2626
</ng-template>
2727
2828
<ng-template #nameTemplate>
29-
<div class="name-with-icon">
29+
<div class="name-with-icon fill-container">
3030
<ht-icon
3131
[icon]="this.entityIconType"
3232
class="icon"

projects/observability/src/shared/components/gauge-list/gauge-list.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
align-items: center;
1313

1414
&.with-label {
15-
grid-template-columns: minmax(60px, auto) minmax(60px, 1fr) max-content;
15+
grid-template-columns: minmax(60px, 1fr) minmax(60px, 1fr) max-content;
1616
}
1717

1818
.border-top {
@@ -22,7 +22,7 @@
2222
}
2323

2424
.label {
25-
@include body-1-medium($gray-7);
25+
@include body-1-medium($gray-5);
2626
@include ellipsis-overflow;
2727
}
2828

projects/observability/src/shared/dashboard/widgets/topology/topology-widget-renderer.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
box-shadow: 0px 1px 3px rgba(63, 71, 74, 0.16), 0px 2px 2px rgba(63, 71, 74, 0.12),
1212
0px 0px 2px rgba(63, 71, 74, 0.16);
1313
margin-top: 4px;
14-
padding: 0px 8px;
14+
padding: 0px 24px;
1515
}
1616
}
1717

0 commit comments

Comments
 (0)