mirror of
https://github.com/outline/outline.git
synced 2026-08-03 13:27:25 +03:00
fix: Incorrect text wrap in version control (#13200)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user