fix responsiveness

This commit is contained in:
rutik wankhade 2022-04-16 16:07:06 +05:30
parent 61e26ccb16
commit 6c54e23266
3 changed files with 9 additions and 4 deletions

View File

@ -6,5 +6,10 @@
overflow-y: hidden; overflow-y: hidden;
} }
@media screen and (max-width:600px) {
.cover {
width: 90vw;
height: 60vh;
padding: 4vh;
}
}

View File

@ -43,7 +43,7 @@ class Editor extends React.Component {
render() { render() {
return ( return (
<div className="flex bg-gray-50 "> <div className="flex md:flex-row flex-col bg-gray-50 ">
<div className="bg-white shadow-sm p-4 flex flex-col md:w-1/4"> <div className="bg-white shadow-sm p-4 flex flex-col md:w-1/4">
{/* <p className="tagline"><span role="img" aria-label="tool"> 🛠 </span> Creating cover images for your blogs is now super easy</p> */} {/* <p className="tagline"><span role="img" aria-label="tool"> 🛠 </span> Creating cover images for your blogs is now super easy</p> */}

View File

@ -14,7 +14,7 @@ const BasicTheme = ({ config }) => {
<div className={`${font} bg-white md:w-10/12 m-auto flex flex-col pt-12 rounded-xl`}> <div className={`${font} bg-white md:w-10/12 m-auto flex flex-col pt-12 rounded-xl`}>
<div className="px-12"> <div className="px-12">
<div> <div>
<h1 className="text-5xl font-bold text-center">{title}</h1> <h1 className="text-3xl md:text-5xl font-bold text-center">{title}</h1>
</div> </div>
</div> </div>