An open source design system that's fully customizable and agent ready
TypeScript
fix(file-explorer): add horizontal padding to toolbar (#1529)
rubyycheungc4100e5daa05
diff --git a/packages/cli/templates/pages/file-explorer/page.tsx b/packages/cli/templates/pages/file-explorer/page.tsxindex f4a8f5a385..d19cf98f1a 100644--- a/packages/cli/templates/pages/file-explorer/page.tsx+++ b/packages/cli/templates/pages/file-explorer/page.tsx@@ -263,6 +263,7 @@ const styles = stylex.create({scrollable: {overflowY: 'auto'},fixedColumn: {flexShrink: 0, alignSelf: 'stretch'},fillRemaining: {flex: 1, alignSelf: 'stretch'},+ toolbarPadding: {paddingInline: 4},});function findItem(items: FileSystemItem[], id: string): FileSystemItem | null {@@ -341,6 +342,7 @@ export default function FileExplorerPage() {label="File Explorer"size="sm"dividers={['bottom']}+ xstyle={styles.toolbarPadding}startContent={<><XDSIconButton