diff --git a/config/i18n.json b/config/i18n.json index 020f384367..6d840833fc 100644 --- a/config/i18n.json +++ b/config/i18n.json @@ -1295,9 +1295,8 @@ "StreamDeck": { "Connected": "Connected", "NotConnected": "Not Connected", - "Enable": "Stream Deck Plugin", + "Enable": "Stream Deck Plugin Enabled", "FinePrint": "Enable the connection with the DIM Stream Deck plugin. This plugin is a separate project that is neither written by nor supported by the DIM team.", - "OldExtension": "Make sure to uninstall the old Stream Deck Chrome extension. It is no longer needed and will cause odd behavior in DIM.", "Install": "Install plugin", "SelectLoadout": "Send to Stream Deck", "Selection": { diff --git a/src/app/dim-ui/CustomStatWeights.m.scss b/src/app/dim-ui/CustomStatWeights.m.scss index f023fcd828..f9b025d4b0 100644 --- a/src/app/dim-ui/CustomStatWeights.m.scss +++ b/src/app/dim-ui/CustomStatWeights.m.scss @@ -1,5 +1,5 @@ .statWeightRow { - display: flex; + composes: flexRow from '../dim-ui/common.m.scss'; align-items: center; gap: 2px; diff --git a/src/app/dim-ui/FileUpload.m.scss b/src/app/dim-ui/FileUpload.m.scss index 2410316191..ec8be9eab4 100644 --- a/src/app/dim-ui/FileUpload.m.scss +++ b/src/app/dim-ui/FileUpload.m.scss @@ -1,9 +1,13 @@ .fileInput { + composes: flexColumn from './common.m.scss'; + align-items: center; text-align: center; padding: 8px; border: 1px dashed #999; width: 100%; box-sizing: border-box; + gap: 4px; + cursor: pointer; } .instructions { diff --git a/src/app/settings/Checkbox.tsx b/src/app/settings/Checkbox.tsx index 5650d49b10..3c2f5b955c 100644 --- a/src/app/settings/Checkbox.tsx +++ b/src/app/settings/Checkbox.tsx @@ -1,5 +1,6 @@ import Switch from 'app/dim-ui/Switch'; import HelpLink from '../dim-ui/HelpLink'; +import { horizontalClass } from './SettingsPage'; import { Settings } from './initial-settings'; export default function Checkbox({ @@ -10,7 +11,7 @@ export default function Checkbox({ name, onChange, }: { - label: string; + label: React.ReactNode; value: boolean; title?: string; helpLink?: string; @@ -18,7 +19,7 @@ export default function Checkbox({ onChange: (checked: boolean, name: keyof Settings) => void; }) { return ( -