This website works better with JavaScript.
Home
Explore
Help
Sign In
TheoryOfNekomata
/
piano-notes-book
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Adjust metrics
Set score margins to 0.
master
TheoryOfNekomata
7 months ago
parent
02db26f390
commit
bdd46e9160
2 changed files
with
14 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-4
src/layouts/Default.astro
+14
-0
src/pages/scores/[asset].svg.ts
+ 0
- 4
src/layouts/Default.astro
View File
@@ -49,10 +49,6 @@ const { title } = Astro.props.frontmatter || Astro.props;
@apply text-purple-600;
}
img.score {
@apply -my-8;
}
div.score-wrapper {
@apply mt-8;
@apply mb-16;
+ 14
- 0
src/pages/scores/[asset].svg.ts
View File
@@ -86,6 +86,20 @@ export const GET: APIRoute = async ({ params }) => {
verovioToolkit.setOptions({
breaks: 'none',
font: 'Bravura',
bottomMarginHeader: 0,
bottomMarginArtic: 0,
bottomMarginHarm: 0,
topMarginHarm: 0,
topMarginArtic: 0,
topMarginPgFooter: 0,
pageMarginTop: 0,
pageMarginBottom: 0,
pageMarginRight: 0,
pageMarginLeft: 0,
defaultBottomMargin: 0,
defaultTopMargin: 0,
defaultLeftMargin: 0,
defaultRightMargin: 0,
});
let data: string;
Write
Preview
Loading…
Cancel
Save