fix(ui): ensure that filter input labels are truncated if too long

Tooltip component creates a div element which is currently missing mw-100 (and others) so it can be bigger than the wrapping label span
This commit is contained in:
Łukasz Mierzwa
2019-04-08 21:52:14 +01:00
parent 8e707b3c07
commit fcd3216313

View File

@@ -85,7 +85,10 @@ const FilterInputLabel = observer(
<FontAwesomeIcon icon={faExclamationCircle} />
</span>
)}
<TooltipWrapper title="Click to edit this filter" className="my-auto">
<TooltipWrapper
title="Click to edit this filter"
className="my-auto mw-100 text-nowrap text-truncate"
>
<RIEInput
defaultValue=""
value={filter.raw}