diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2022-07-20 14:18:57 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2022-07-25 11:40:06 +0200 |
| commit | b570bf5ff968edd915c05747b8711461cd31945a (patch) | |
| tree | e4a942d5a17278c47d255bb2eba53b8d662fcdc7 /gui/src/renderer/components/InterfaceSettings.tsx | |
| parent | 954840242ea2097c997730ec3aeff8d92c60836f (diff) | |
| download | mullvadvpn-b570bf5ff968edd915c05747b8711461cd31945a.tar.xz mullvadvpn-b570bf5ff968edd915c05747b8711461cd31945a.zip | |
Switch to SettingsContainer in all settings views
Diffstat (limited to 'gui/src/renderer/components/InterfaceSettings.tsx')
| -rw-r--r-- | gui/src/renderer/components/InterfaceSettings.tsx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/gui/src/renderer/components/InterfaceSettings.tsx b/gui/src/renderer/components/InterfaceSettings.tsx index bc7f823e7c..4598c1058e 100644 --- a/gui/src/renderer/components/InterfaceSettings.tsx +++ b/gui/src/renderer/components/InterfaceSettings.tsx @@ -1,7 +1,6 @@ import { useCallback } from 'react'; import styled from 'styled-components'; -import { colors } from '../../config.json'; import { messages } from '../../shared/gettext'; import { useAppContext } from '../context'; import { useHistory } from '../lib/history'; @@ -10,7 +9,7 @@ import { useSelector } from '../redux/store'; import { AriaDescription, AriaInput, AriaInputGroup, AriaLabel } from './AriaGroup'; import * as Cell from './cell'; import { BackAction } from './KeyboardNavigation'; -import { Container, Layout } from './Layout'; +import { Layout, SettingsContainer } from './Layout'; import { NavigationBar, NavigationContainer, @@ -20,10 +19,6 @@ import { } from './NavigationBar'; import SettingsHeader, { HeaderTitle } from './SettingsHeader'; -const StyledContainer = styled(Container)({ - backgroundColor: colors.darkBlue, -}); - const StyledContent = styled.div({ display: 'flex', flexDirection: 'column', @@ -42,7 +37,7 @@ export default function InterfaceSettings() { return ( <BackAction action={pop}> <Layout> - <StyledContainer> + <SettingsContainer> <NavigationContainer> <NavigationBar> <NavigationItems> @@ -89,7 +84,7 @@ export default function InterfaceSettings() { </StyledContent> </NavigationScrollbars> </NavigationContainer> - </StyledContainer> + </SettingsContainer> </Layout> </BackAction> ); |
