fix(app): align Changes tab controls

This commit is contained in:
Mohamed Boudra
2026-07-22 22:39:27 +02:00
parent e699f07a17
commit 8b54d35818
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1613,7 +1613,7 @@ export function DiffOptionsMenu({
onToggleWrapLines, onToggleWrapLines,
}: DiffOptionsMenuProps) { }: DiffOptionsMenuProps) {
const { t } = useTranslation(); const { t } = useTranslation();
const defaultToggleStyle = useMemo(() => buildExpandAllButtonStyle(), []); const defaultToggleStyle = useMemo(() => buildOverflowButtonStyle(), []);
const whitespaceLabel = hideWhitespace const whitespaceLabel = hideWhitespace
? t("workspace.git.diff.showWhitespace") ? t("workspace.git.diff.showWhitespace")
: t("workspace.git.diff.hideWhitespace"); : t("workspace.git.diff.hideWhitespace");
+2 -2
View File
@@ -374,7 +374,7 @@ const styles = StyleSheet.create((theme) => ({
alignItems: "center", alignItems: "center",
justifyContent: "space-between", justifyContent: "space-between",
gap: theme.spacing[2], gap: theme.spacing[2],
paddingHorizontal: theme.spacing[3], paddingRight: theme.spacing[2],
borderBottomWidth: theme.borderWidth[1], borderBottomWidth: theme.borderWidth[1],
borderBottomColor: theme.colors.border, borderBottomColor: theme.colors.border,
flexShrink: 0, flexShrink: 0,
@@ -383,7 +383,7 @@ const styles = StyleSheet.create((theme) => ({
flexDirection: "row", flexDirection: "row",
alignItems: "center", alignItems: "center",
justifyContent: "flex-end", justifyContent: "flex-end",
gap: theme.spacing[2], gap: theme.spacing[1],
}, },
body: { body: {
flex: 1, flex: 1,