mirror of
https://github.com/woodchen-ink/CoverView.git
synced 2025-07-19 06:21:56 +08:00
fix: loading issue
This commit is contained in:
parent
e9f7534a59
commit
ea121e45dc
@ -46,7 +46,7 @@ const ComponentToImg = (props) => {
|
||||
}
|
||||
})
|
||||
|
||||
console.log(data)
|
||||
// console.log(data)
|
||||
await saveImage(data);
|
||||
|
||||
|
||||
|
@ -175,7 +175,7 @@ class Editor extends React.Component {
|
||||
|
||||
|
||||
<div className="flex items-center">
|
||||
<div className="flex flex-col m-2 w-1/2">
|
||||
{/* <div className="flex flex-col m-2 w-1/2">
|
||||
<span className="font-medium pb-1">Pattern</span>
|
||||
<select
|
||||
onChange={(e) => this.setState({ pattern: e.target.value })}
|
||||
@ -202,9 +202,9 @@ class Editor extends React.Component {
|
||||
<option>jupiter</option>
|
||||
<option>sun</option>
|
||||
</select>
|
||||
</div>
|
||||
</div> */}
|
||||
|
||||
<div className="flex flex-col m-2 w-1/2">
|
||||
<div className="flex flex-col m-2 w-full">
|
||||
<span className="font-medium pb-1">Platform</span>
|
||||
|
||||
<select
|
||||
|
@ -6,11 +6,10 @@ const BasicTheme = ({ config }) => {
|
||||
|
||||
return (
|
||||
<div className="p-4 bg-white ">
|
||||
<div className={`overflow-y-hidden flex text-gray-800 items-center ${pattern} ${platform} `}
|
||||
<div className={`overflow-y-hidden flex text-gray-800 items-center h-full ${platform} ${pattern} `}
|
||||
style={{ backgroundColor: bgColor }}
|
||||
>
|
||||
|
||||
|
||||
<div className={`${font} bg-white md:w-10/12 m-auto flex flex-col pt-12 rounded-xl`}>
|
||||
<div className="px-12">
|
||||
<div>
|
||||
@ -34,7 +33,8 @@ const BasicTheme = ({ config }) => {
|
||||
<h2 className="text-xl ml-auto mr-2 font-semibold">{author}</h2>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user