diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2021-08-19 10:33:02 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2021-08-19 11:10:07 +0200 |
| commit | c5fdf899a223f820bf971b968f384dfe2e45592f (patch) | |
| tree | 9135a58df3b478f9855d22a797784ccdafd896db /gui/src/renderer/components/cell | |
| parent | 34029e4aae5c0a5adecf9b22b1afc1b1ddd864f2 (diff) | |
| download | mullvadvpn-c5fdf899a223f820bf971b968f384dfe2e45592f.tar.xz mullvadvpn-c5fdf899a223f820bf971b968f384dfe2e45592f.zip | |
Move OpenVPN and Wireguard settings styles from AdvancedSettingsStyles
Diffstat (limited to 'gui/src/renderer/components/cell')
| -rw-r--r-- | gui/src/renderer/components/cell/CellButton.tsx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gui/src/renderer/components/cell/CellButton.tsx b/gui/src/renderer/components/cell/CellButton.tsx index 68f1dc1f32..993ac8bf23 100644 --- a/gui/src/renderer/components/cell/CellButton.tsx +++ b/gui/src/renderer/components/cell/CellButton.tsx @@ -9,7 +9,7 @@ interface IStyledCellButtonProps extends React.HTMLAttributes<HTMLButtonElement> containedInSection: boolean; } -export const StyledCellButton = styled.button({}, (props: IStyledCellButtonProps) => { +const StyledCellButton = styled.button({}, (props: IStyledCellButtonProps) => { const backgroundColor = props.selected ? colors.green : props.containedInSection @@ -47,3 +47,10 @@ export const CellButton = styled( ); }), )({}); + +export const CellButtonGroup = styled.div({ + display: 'flex', + flexDirection: 'column', + flex: 1, + marginBottom: '20px', +}); |
