diff --git a/src/components/Inputs/SelectInput.tsx b/src/components/Inputs/SelectInput.tsx index 1e6051a..b2aee5f 100644 --- a/src/components/Inputs/SelectInput.tsx +++ b/src/components/Inputs/SelectInput.tsx @@ -33,6 +33,7 @@ export function SelectInput({ }, }, }, + mb: 1 }} > {label} diff --git a/src/components/settings/SettingsBar.tsx b/src/components/settings/SettingsBar.tsx index a5bff14..6ebe7c8 100644 --- a/src/components/settings/SettingsBar.tsx +++ b/src/components/settings/SettingsBar.tsx @@ -1,3 +1,4 @@ +import { Box } from '@primer/react' import { Icon } from 'components/Icon' import { platform } from 'platforms' import { GitHub } from 'platforms/GitHub' @@ -56,7 +57,7 @@ export function SettingsBarContent({ toggleShow }: { toggleShow: () => void }) { -
+
@@ -73,23 +74,25 @@ export function SettingsBarContent({ toggleShow }: { toggleShow: () => void }) { )} - - Report bug - - {' / '} - - Discuss feature - + -
+
) } diff --git a/src/components/settings/SettingsSection.tsx b/src/components/settings/SettingsSection.tsx index 209bd16..caf5a29 100644 --- a/src/components/settings/SettingsSection.tsx +++ b/src/components/settings/SettingsSection.tsx @@ -1,3 +1,4 @@ +import { Box } from '@primer/react' import * as React from 'react' type Props = { title?: React.ReactNode @@ -5,9 +6,9 @@ type Props = { export function SettingsSection({ title, children }: React.PropsWithChildren) { return ( -
+ {title &&

{title}

} {children} -
+ ) } diff --git a/src/styles/index.scss b/src/styles/index.scss index 44bf472..c811421 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -852,11 +852,6 @@ $minimal-z-index: max( background: var(--color-bg-subtle); z-index: 2; } - .settings-section { - &:not(:last-of-type) { - margin-bottom: 30px; - } - } } .link-button { cursor: pointer;