ui: address PR feedback

- wrap the SourceSetter with a black card backdrop
This commit is contained in:
tomholford 2022-12-02 14:31:03 -08:00
parent 015d46afc6
commit 235f7ca0db
2 changed files with 18 additions and 14 deletions

View File

@ -14,12 +14,14 @@ export const AppPrefs = ({ match }: RouteComponentProps<{ desk: string }>) => {
const { toggleSync } = useKilnState();
return (
<SourceSetter
appName={appName}
title={`${appName} Settings`}
toggleSrc={toggleSync}
srcDesk={desk}
srcShip={srcShip}
/>
<div className="inner-section space-y-8 relative">
<SourceSetter
appName={appName}
title={`${appName} Settings`}
toggleSrc={toggleSync}
srcDesk={desk}
srcShip={srcShip}
/>
</div>
);
};

View File

@ -12,12 +12,14 @@ export const UpdatePreferences = () => {
const { toggleInstall } = useKilnState();
return (
<SourceSetter
appName={appName}
toggleSrc={toggleInstall}
srcDesk={desk}
srcShip={srcShip}
title="System Updates"
/>
<div className="inner-section space-y-8 relative">
<SourceSetter
appName={appName}
toggleSrc={toggleInstall}
srcDesk={desk}
srcShip={srcShip}
title="System Updates"
/>
</div>
);
};