product: enhance the height

This commit is contained in:
2025-12-20 20:58:12 +03:00
parent ed23b10240
commit 96573d62f4
3 changed files with 12 additions and 11 deletions

View File

@@ -16,7 +16,7 @@
align-items: center; align-items: center;
padding: 0 1px; padding: 0 1px;
border-radius: 888px; border-radius: 888px;
width: 140px; width: 110px;
height: 48px; height: 48px;
} }

View File

@@ -58,10 +58,11 @@ export default function ActionsButtons({
className={styles.quantityButton} className={styles.quantityButton}
{...(min && { disabled: quantity === min })} {...(min && { disabled: quantity === min })}
style={{ style={{
width: 48, width: 36,
height: 48, height: 36,
minWidth: 48, minWidth: 36,
borderColor: "#DEDEE0", borderColor: "#DEDEE0",
backgroundColor: "var(--secondary-background)"
}} }}
/> />
) : ( ) : (
@@ -85,10 +86,10 @@ export default function ActionsButtons({
className={styles.addButton} className={styles.addButton}
style={{ style={{
background: "#FEF2F2", background: "#FEF2F2",
width: 48, width: 36,
height: 48, height: 36,
border: "none", border: "none",
minWidth: 48, minWidth: 36,
}} }}
/> />
</Popconfirm> </Popconfirm>
@@ -112,10 +113,10 @@ export default function ActionsButtons({
className={styles.quantityButton} className={styles.quantityButton}
{...(max && { disabled: quantity >= max })} {...(max && { disabled: quantity >= max })}
style={{ style={{
width: 48, width: 36,
height: 48, height: 36,
borderColor: "#DEDEE0", borderColor: "#DEDEE0",
minWidth: 48, minWidth: 36,
}} }}
/> />
</div> </div>

View File

@@ -176,7 +176,7 @@ export default function ProductDetailPage({
return ( return (
<div <div
style={{ style={{
height: "75vh", height: "calc(100vh - 195px)",
overflow: "auto", overflow: "auto",
scrollbarWidth: "none", scrollbarWidth: "none",
}} }}