forked from M3-Academy/challenge-vtex-io
feat: adicionando styles.css ao componente Html
This commit is contained in:
parent
95310ec286
commit
8f9edf916e
@ -1,5 +1,6 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import { useCssHandles } from "vtex.css-handles";
|
||||
import "./styles.css"
|
||||
|
||||
const CSS_HANDLES = ["html"] as const;
|
||||
|
||||
|
18
react/components/Html/styles.css
Normal file
18
react/components/Html/styles.css
Normal file
@ -0,0 +1,18 @@
|
||||
/* Product Quantity and Add To Cart Button */
|
||||
|
||||
[class*="html--cart-content"] {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
column-gap: 10px;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
[data-testid="product-quantity"]{
|
||||
height: 49px;
|
||||
}
|
||||
|
||||
[data-testid="add-to-cart-button"]{
|
||||
width: 100%;
|
||||
}
|
Loading…
Reference in New Issue
Block a user