diff --git a/src/components/mui/ExpandText/index.jsx b/src/components/mui/ExpandText/index.jsx index 889ca9730..004d5c777 100644 --- a/src/components/mui/ExpandText/index.jsx +++ b/src/components/mui/ExpandText/index.jsx @@ -77,27 +77,25 @@ const ExpandText = ({ children, lines = DEFAULT_LINES, charCount }) => { ); } - // flex parent gives the clamped box a definite height so the ::before spacer can use 100% + // toggle sits beside the clamp, not floated inside it: Safari blanks clamped text that wraps a float return ( - + - {isClamped && renderToggle({ float: "right", clear: "both", ml: 0.5 })} {text} + {isClamped && renderToggle({ flexShrink: 0, ml: 0.5 })} ); };