Skip to content

Commit 797268e

Browse files
palbizuPatricio Albizu
andauthored
fix: Expand Contract button and Removing line (#653)
* Expand Contract button and Removing line * fix: Expand Contract button and Removing line * fix: removing colorChange variable * fix: Lintering code * fix: removing variable * fix: removing spaces * fix: updating padding Co-authored-by: Patricio Albizu <albizupatricio@github.com>
1 parent 10ba244 commit 797268e

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

projects/components/src/expander/expander-toggle.component.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@
66
display: flex;
77
flex-direction: column;
88
justify-content: center;
9-
color: $gray-4;
9+
color: $gray-3;
1010
border-radius: 2px;
1111
}
1212

1313
.expander-toggle:hover {
1414
color: $gray-5;
1515
}
16+
17+
.expanded-toggle {
18+
color: $gray-7;
19+
}

projects/components/src/expander/expander-toggle.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { IconSize } from '../icon/icon-size';
77
changeDetection: ChangeDetectionStrategy.OnPush,
88
styleUrls: ['./expander-toggle.component.scss'],
99
template: `
10-
<div class="expander-toggle">
10+
<div class="expander-toggle" [ngClass]="{ 'expanded-toggle': this.expanded }">
1111
<ht-icon
1212
[icon]="this.getIconType()"
1313
size="${IconSize.Small}"

projects/components/src/table/cells/expanded-detail/table-expanded-detail-row-cell-renderer.component.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,5 @@
1010

1111
.expandable-column-row {
1212
overflow: hidden;
13-
14-
// Left dashed border 4px dash, 4px space
15-
background-image: linear-gradient($gray-4 50%, rgba(255, 255, 255, 0) 0%);
16-
background-position: left;
17-
background-size: 1px 8px;
18-
background-repeat: repeat-y;
1913
}
2014
}

projects/distributed-tracing/src/shared/dashboard/widgets/trace-detail/trace-detail-widget-renderer.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
flex: 1 1 auto;
44
display: flex;
55
flex-direction: row;
6-
padding: 0 16px;
6+
padding-right: 16px;
77
}
88

99
.summary-value {

0 commit comments

Comments
 (0)