Skip to content

Commit 7053a05

Browse files
committed
prevent strikethrough on hidden legend and border radius in v12
1 parent 4c5d156 commit 7053a05

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/highcharts-theme/css/salt-highcharts-theme.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@
129129
.highcharts-theme-salt .highcharts-legend-item-hidden > text,
130130
.highcharts-theme-salt .highcharts-legend-item-hidden span {
131131
opacity: 0.2;
132+
/* v12 adds a strike-through line to hidden legend items */
133+
text-decoration: none;
132134
}
133135

134136
.highcharts-theme-salt .highcharts-legend-item-hidden .highcharts-focus-border {

packages/highcharts-theme/src/default-options.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ export const getDefaultOptions = (
7171
bullet: {
7272
borderRadius: 0,
7373
},
74+
waterfall: {
75+
borderRadius: 0,
76+
},
7477
scatter: {
7578
marker: {
7679
// Agreed in design set value

0 commit comments

Comments
 (0)