mirror of
https://github.com/tloncorp/landscape.git
synced 2025-01-05 23:56:54 +03:00
ui: address PR feedback
- wrap the SourceSetter with a black card backdrop
This commit is contained in:
parent
015d46afc6
commit
235f7ca0db
@ -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>
|
||||
);
|
||||
};
|
||||
|
@ -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>
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user