forked from M3-Academy/challenge-vtex-io
Entrega do Desafio #1
@ -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