diff --git a/packages/app/src/components/file-explorer-pane.tsx b/packages/app/src/components/file-explorer-pane.tsx index d1ab5cf45..0082a8c7a 100644 --- a/packages/app/src/components/file-explorer-pane.tsx +++ b/packages/app/src/components/file-explorer-pane.tsx @@ -597,7 +597,10 @@ function FilePreviewBody({ if (preview.kind === "text") { if (variant === "sheet") { return ( - + {preview.content} @@ -605,7 +608,10 @@ function FilePreviewBody({ ); } return ( - + {preview.content} @@ -929,7 +935,7 @@ const styles = StyleSheet.create((theme) => ({ flexDirection: "row", alignItems: "center", justifyContent: "space-between", - paddingVertical: theme.spacing[2], + paddingVertical: theme.spacing[1], paddingRight: theme.spacing[2], }, entryRowActive: { @@ -1041,6 +1047,9 @@ const styles = StyleSheet.create((theme) => ({ previewContent: { flex: 1, }, + previewTextContent: { + padding: theme.spacing[3], + }, codeText: { color: theme.colors.foreground, fontFamily: Fonts.mono, @@ -1051,6 +1060,7 @@ const styles = StyleSheet.create((theme) => ({ flex: 1, alignItems: "center", justifyContent: "center", + padding: theme.spacing[3], }, previewImage: { width: "100%",