mirror of
https://github.com/woodchen-ink/CoverView.git
synced 2025-07-19 14:31:58 +08:00
fix font issue
This commit is contained in:
parent
8efbecff75
commit
c825f9de7b
@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Anek+Latin:wght@400;500;600;700&display=swap?" rel="stylesheet" crossorigin="anonymous">
|
<link href="https://fonts.googleapis.com/css2?family=Anek+Latin:wght@400;500;600;700&display=swap?" rel="stylesheet" crossorigin="anonymous">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap" rel="stylesheet" crossorigin="anonymous">
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Notice the use of %PUBLIC_URL% in the tags above.
|
Notice the use of %PUBLIC_URL% in the tags above.
|
||||||
|
@ -30,7 +30,7 @@ const ComponentToImg = (props) => {
|
|||||||
height: element.offsetHeight + "px",
|
height: element.offsetHeight + "px",
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.then((data) => {
|
.then(async (data) => {
|
||||||
var a = document.createElement("A");
|
var a = document.createElement("A");
|
||||||
a.href = data;
|
a.href = data;
|
||||||
a.download = `cover.png`;
|
a.download = `cover.png`;
|
||||||
|
@ -153,7 +153,6 @@ class Editor extends React.Component {
|
|||||||
<option>font-Inter</option>
|
<option>font-Inter</option>
|
||||||
<option>font-Poppins</option>
|
<option>font-Poppins</option>
|
||||||
<option>font-Anek</option>
|
<option>font-Anek</option>
|
||||||
<option>font-Nunito</option>
|
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col m-2 w-1/2">
|
<div className="flex flex-col m-2 w-1/2">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user