fix(ui): keep swimlane labels in one row

This commit is contained in:
Łukasz Mierzwa
2020-06-13 17:20:21 +01:00
committed by Łukasz Mierzwa
parent 8f0ae05863
commit 3927f37fef
+3 -1
View File
@@ -20,10 +20,12 @@ const Swimlane = ({ alertStore, grid, isExpanded, onToggle }) => {
return (
<Fade in={context.animations.in} duration={context.animations.duration}>
<h5 className="components-grid-swimlane d-flex flex-row justify-content-between rounded px-2 py-1 mt-2 mb-0 border border-dark">
<span className="flex-shrink-1 flex-grow-1" style={{ minWidth: "0px" }}>
<span className="flex-shrink-0 flex-grow-0">
<span className="badge components-label px-0 ml-1 mr-3">
<FontAwesomeIcon icon={faTh} className="text-muted" />
</span>
</span>
<span className="flex-shrink-1 flex-grow-1" style={{ minWidth: "0px" }}>
{grid.labelName !== "" && grid.labelValue !== "" && (
<FilteringLabel
key={grid.labelValue}