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