mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2024-11-16 22:29:24 +08:00
Polished blobview button per product
This commit is contained in:
parent
b7e91c345f
commit
7b25dc13dd
1 changed files with 4 additions and 2 deletions
|
@ -21,7 +21,7 @@ export default function BlobView({ Products }: ProductList) {
|
||||||
padding: 16,
|
padding: 16,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Button
|
<button
|
||||||
style={{
|
style={{
|
||||||
lineHeight: 0,
|
lineHeight: 0,
|
||||||
display: "flex",
|
display: "flex",
|
||||||
|
@ -29,6 +29,8 @@ export default function BlobView({ Products }: ProductList) {
|
||||||
justifySelf: "flex-start",
|
justifySelf: "flex-start",
|
||||||
alignItems: "flex-start",
|
alignItems: "flex-start",
|
||||||
width: "100%",
|
width: "100%",
|
||||||
|
border: "none",
|
||||||
|
background: "none",
|
||||||
}}
|
}}
|
||||||
onClick={() => navigate("/Product/" + row.id)}
|
onClick={() => navigate("/Product/" + row.id)}
|
||||||
>
|
>
|
||||||
|
@ -45,7 +47,7 @@ export default function BlobView({ Products }: ProductList) {
|
||||||
<p style={{ ...styles.text_white, ...styles.text_S }}>
|
<p style={{ ...styles.text_white, ...styles.text_S }}>
|
||||||
Date Added: {row.date_added}
|
Date Added: {row.date_added}
|
||||||
</p>
|
</p>
|
||||||
</Button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue