Skip to content

Commit fd26c88

Browse files
committed
refactor: adding borders to timeline card
1 parent b960ae3 commit fd26c88

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

projects/observability/src/shared/components/timeline-card-list/timeline-card-list.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,22 @@
4747
width: 100%;
4848
box-sizing: border-box;
4949
border-radius: 6px;
50+
border: 1px solid $gray-2;
5051

5152
&.selected-card {
5253
background: $blue-1;
54+
border: 1px solid $blue-2;
5355

5456
&:hover {
5557
background: $blue-2;
58+
border: 1px solid $blue-5;
5659
cursor: pointer;
5760
}
5861
}
5962

6063
&:hover {
6164
background: $gray-1;
65+
border: 1px solid $gray-2;
6266
cursor: pointer;
6367
}
6468
}

projects/observability/src/shared/components/timeline-card-list/timeline-card-list.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ import { TimelineCardContainerComponent } from './container/timeline-card-contai
1818
role="${ButtonRole.Primary}"
1919
display="${ButtonStyle.Outlined}"
2020
(click)="item.showAll = true"
21-
class="button"
22-
[ngClass]="{ 'with-margin': this.showTime }"
21+
class="button with-margin"
2322
></ht-button>
2423
2524
<ng-template #showSimilarCards>

0 commit comments

Comments
 (0)