fix(app): align Changes tab controls
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user