| Active |
Name |
|
@@ -262,7 +272,7 @@ export function SourceSettings({
>
)}
-
diff --git a/frontend/src/features/viewSettings/ViewSettings.tsx b/frontend/src/features/viewSettings/ViewSettings.tsx
index ccc109269..597d30a58 100644
--- a/frontend/src/features/viewSettings/ViewSettings.tsx
+++ b/frontend/src/features/viewSettings/ViewSettings.tsx
@@ -8,7 +8,7 @@ import React from "react";
// @ts-ignore: https://github.com/arnthor3/react-bootstrap-toggle/issues/21
import Toggle from "react-bootstrap-toggle";
-import { ToggleButtonHeight } from "@/common/constants";
+import { CompactToggleHeight } from "@/common/constants";
import { useAppDispatch, useAppSelector } from "@/common/types";
import {
selectFrontsVisible,
@@ -27,9 +27,9 @@ export function ViewSettings() {
offClassName="flex-centre"
onstyle="info"
offstyle="info"
- width={100 + "%"}
- size="md"
- height={ToggleButtonHeight + "px"}
+ width={"100%"}
+ size="sm"
+ height={CompactToggleHeight + "px"}
active={frontsVisible}
/>
);