menu: fixes
This commit is contained in:
@@ -98,17 +98,16 @@ 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>
|
||||||
|
{item.description && (
|
||||||
<ProText
|
<ProText
|
||||||
type="secondary"
|
type="secondary"
|
||||||
className={styles.itemDescription}
|
className={styles.itemDescription}
|
||||||
@@ -131,6 +130,7 @@ export default function ProductCard({ item, setIsBottomSheetOpen }: Props) {
|
|||||||
>
|
>
|
||||||
{item.description}
|
{item.description}
|
||||||
</ProText>
|
</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