Skip to content

Commit a0d5181

Browse files
dark mode menu color for unavailable items
1 parent 2809aae commit a0d5181

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/plotxy.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,7 @@ export class PlotXY extends React.Component<PlotXYProps, PlotXYState> {
208208
return null;
209209
}
210210
const maxAbsDomain = d3.max(
211-
domain
212-
.map((v: any) => Math.abs(Number(v)))
213-
.filter((v: number) => Number.isFinite(v)),
211+
domain.map((v: any) => Math.abs(Number(v))).filter((v: number) => Number.isFinite(v)),
214212
);
215213
if (maxAbsDomain === undefined || maxAbsDomain < 1e6) {
216214
return null;

src/style/bs-dark.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
--bs-dropdown-bg: #222;
9292
--bs-dropdown-border-color: #444;
9393
--bs-dropdown-link-color: #fff;
94+
--bs-dropdown-link-disabled-color: #9fa6ad;
9495
--bs-dropdown-link-hover-color: #fff;
9596
--bs-dropdown-link-hover-bg: var(--bs-primary);
9697
--bs-dropdown-divider-bg: #444;

0 commit comments

Comments
 (0)