style(app): indent the sidebar new workspace row

The row only renders under its project header, so stepping it in reads as
part of that project rather than as a peer of it. Extra padding rather than
margin keeps the hover and pressed fills on the same box as every other
sidebar row.
This commit is contained in:
Mohamed Boudra
2026-08-07 20:24:46 +02:00
parent 3ddebe7221
commit 9b5f6f33f6
@@ -2415,11 +2415,15 @@ const styles = StyleSheet.create((theme) => ({
workspaceListContainer: {},
// Kept in step with `workspaceRow` above. It stands in a project's list where a workspace row
// would be, so it takes that row's geometry and both of its fills.
//
// The one departure is the extra left padding: it only ever renders under its project header, so
// the step in reads as belonging to that project. Padding rather than margin, so the hover and
// pressed fills stay the same box as every other row in the sidebar.
newWorkspaceGhostRow: {
minHeight: 36,
marginBottom: theme.spacing[0.5],
paddingVertical: theme.spacing[2],
paddingLeft: theme.spacing[2],
paddingLeft: theme.spacing[4],
paddingRight: theme.spacing[3],
borderRadius: theme.borderRadius.lg,
flexDirection: "row",