skip to Main Content

Css – Push Button to the bottom of container (justify-self-end Not working)

I want to push the button to the end of the flex container Components Code <div className="group flex flex-col gap-4 rounded-2xl bg-brand-white p-4 shadow-card"> <div className="relative overflow-hidden rounded-2xl"> { ...JSX } </div> <p className="text-brand-black/80">{shortDescription}</p> <Button as={Link} href={link} variant="sm-inverted" className="w-fit justify-self-end"…

VIEW QUESTION

TailwindCSS in Vitepress

I'm trying to get tailwind to work within markdown files rendered by vitepress. There are some sources online of how to make it work, none of which work for me. /docs directory structure: /docs/global/inputs/primary-button.md: # primary-button ## Props | Prop…

VIEW QUESTION

Reactjs – customStyles not being read

import React from 'react' const CustomButton = ({ type, title, customStyles, handleClick }) => { return ( <button className={'px-2 py-1.2 flex-1 rounded-md ${customStyles}'} > {title} </button> ) } export default CustomButton The customStyles keeps saying it's declared but not being…

VIEW QUESTION
Back To Top
Search