menu: fixes
This commit is contained in:
@@ -98,39 +98,39 @@ export default function ProductCard({ item, setIsBottomSheetOpen }: Props) {
|
|||||||
<ProText
|
<ProText
|
||||||
style={{
|
style={{
|
||||||
margin: 0,
|
margin: 0,
|
||||||
display: "inline-block",
|
|
||||||
fontWeight: 600,
|
fontWeight: 600,
|
||||||
fontStyle: "SemiBold",
|
fontStyle: "SemiBold",
|
||||||
fontSize: "16px",
|
fontSize: "16px",
|
||||||
// leadingTrim: "NONE",
|
|
||||||
lineHeight: "140%",
|
lineHeight: "140%",
|
||||||
letterSpacing: "0%",
|
letterSpacing: "0%",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{isRTL ? item.nameOther : item.name}
|
{isRTL ? item.nameOther : item.name}
|
||||||
</ProText>
|
</ProText>
|
||||||
<ProText
|
{item.description && (
|
||||||
type="secondary"
|
<ProText
|
||||||
className={styles.itemDescription}
|
type="secondary"
|
||||||
style={{
|
className={styles.itemDescription}
|
||||||
display: "-webkit-box",
|
style={{
|
||||||
WebkitBoxOrient: "vertical",
|
display: "-webkit-box",
|
||||||
WebkitLineClamp: 2,
|
WebkitBoxOrient: "vertical",
|
||||||
overflow: "hidden",
|
WebkitLineClamp: 2,
|
||||||
textOverflow: "ellipsis",
|
overflow: "hidden",
|
||||||
wordWrap: "break-word",
|
textOverflow: "ellipsis",
|
||||||
overflowWrap: "break-word",
|
wordWrap: "break-word",
|
||||||
maxHeight: "3em",
|
overflowWrap: "break-word",
|
||||||
fontWeight: 500,
|
maxHeight: "3em",
|
||||||
fontStyle: "Medium",
|
fontWeight: 500,
|
||||||
fontSize: "12px",
|
fontStyle: "Medium",
|
||||||
// leadingTrim: "NONE",
|
fontSize: "12px",
|
||||||
lineHeight: "140%",
|
// leadingTrim: "NONE",
|
||||||
letterSpacing: "0%",
|
lineHeight: "140%",
|
||||||
}}
|
letterSpacing: "0%",
|
||||||
>
|
}}
|
||||||
{item.description}
|
>
|
||||||
</ProText>
|
{item.description}
|
||||||
|
</ProText>
|
||||||
|
)}
|
||||||
|
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
@@ -170,7 +170,7 @@ export default function ProductCard({ item, setIsBottomSheetOpen }: Props) {
|
|||||||
style={{
|
style={{
|
||||||
position: "relative",
|
position: "relative",
|
||||||
...(isRTL ? { right: -5 } : {}),
|
...(isRTL ? { right: -5 } : {}),
|
||||||
marginTop: item.description ? 0 : 5,
|
marginTop: 6,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<ItemDescriptionIcons
|
<ItemDescriptionIcons
|
||||||
|
|||||||
Reference in New Issue
Block a user