mirror of
https://github.com/woodchen-ink/CoverView.git
synced 2025-07-18 14:01:56 +08:00
fix responsiveness
This commit is contained in:
parent
61e26ccb16
commit
6c54e23266
@ -6,5 +6,10 @@
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media screen and (max-width:600px) {
|
||||
.cover {
|
||||
width: 90vw;
|
||||
height: 60vh;
|
||||
padding: 4vh;
|
||||
}
|
||||
}
|
@ -43,7 +43,7 @@ class Editor extends React.Component {
|
||||
|
||||
render() {
|
||||
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">
|
||||
{/* <p className="tagline"><span role="img" aria-label="tool"> 🛠 </span> Creating cover images for your blogs is now super easy</p> */}
|
||||
|
||||
|
@ -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="px-12">
|
||||
<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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user