Skip to content

Commit 3e8636e

Browse files
Fix lockup title and description texts overflowing (#76)
1 parent e4e89fd commit 3e8636e

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/Lumi/Components/Lockup.purs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,20 +126,18 @@ styles = jss
126126
{ textDecoration: "none"
127127
, display: "inline-block"
128128
}
129-
}
130-
131-
, "& > lumi-lockup-image":
132-
{ flex: "none"
133-
}
134129

135-
, "& > lumi-lockup-description-body":
136-
{ "& > lumi-lockup-description-title > lumi-body, & > lumi-lockup-description-body > lumi-subtext":
130+
, "& > lumi-lockup-description-title, & > lumi-lockup-description-body":
137131
{ whiteSpace: "nowrap"
138132
, overflow: "hidden"
139133
, textOverflow: "ellipsis"
140134
}
141135
}
142136

137+
, "& > lumi-lockup-image":
138+
{ flex: "none"
139+
}
140+
143141
, "&[data-variant=\"product\"], &[data-variant=\"user\"]":
144142
{ "& > lumi-lockup-description > lumi-lockup-description-title":
145143
{ display: "flex"

0 commit comments

Comments
 (0)