4
0
forked from crowetic/commerce

fix small product titles

This commit is contained in:
Julián Benegas 2020-10-23 21:31:08 -03:00
parent 60ceee9080
commit 4f50bf6b7c
2 changed files with 5 additions and 2 deletions

View File

@ -17,7 +17,7 @@ const Featurebar: FC<Props> = ({
hide, hide,
}) => { }) => {
const rootClassName = cn( const rootClassName = cn(
'transition-transform transform duration-500 text-center ease-out p-6 bg-primary text-base text-sm md:flex md:text-left flex-row justify-center items-center font-medium fixed bottom-0 w-full z-10', 'transition-transform transform duration-500 text-center ease-out p-6 bg-primary text-base text-sm md:flex md:text-left flex-row justify-center items-center font-medium fixed bottom-0 w-full z-30',
{ 'translate-y-full': hide }, { 'translate-y-full': hide },
className className
) )

View File

@ -89,6 +89,9 @@
width: 18vw; width: 18vw;
margin-top: -7px; margin-top: -7px;
font-size: 1rem; font-size: 1rem;
& span {
line-height: 3;
}
} }
& .productPrice { & .productPrice {
@ -103,7 +106,7 @@
letter-spacing: 0.4px; letter-spacing: 0.4px;
& span { & span {
@apply inline py-4 px-6 bg-primary text-primary font-bold; @apply py-4 px-6 bg-primary text-primary font-bold;
font-size: inherit; font-size: inherit;
letter-spacing: inherit; letter-spacing: inherit;
box-decoration-break: clone; box-decoration-break: clone;