fix: Incorrect text wrap in version control (#13200)

This commit is contained in:
Tom Moor
2026-07-30 07:26:30 -04:00
committed by GitHub
parent 64b931aad8
commit 2c161b8158
@@ -117,7 +117,10 @@ export function HighlightChangesControl({
label={t("Compare to")}
displayValue={(item) => (
<>
<Text weight="bold">{t("Compare to")}</Text> {item?.label}
<CompareToLabel weight="bold">
{t("Compare to")}
</CompareToLabel>{" "}
{item?.label}
</>
)}
labelHidden
@@ -131,6 +134,10 @@ export function HighlightChangesControl({
);
}
const CompareToLabel = styled(Text)`
white-space: nowrap;
`;
const StyledInputSelect = styled(InputSelect)`
margin: -4px -9px -1px;
width: calc(100% + 18px);