diff --git a/public/global.css b/public/global.css
index bb28a94..dc2c8bb 100644
--- a/public/global.css
+++ b/public/global.css
@@ -25,10 +25,6 @@ a:visited {
color: rgb(0,80,160);
}
-label {
- display: block;
-}
-
input, button, select, textarea {
font-family: inherit;
font-size: inherit;
@@ -61,3 +57,30 @@ button:not(:disabled):active {
button:focus {
border-color: #666;
}
+
+/* custom part */
+
+form {
+ display: grid;
+ grid-template-columns: auto 1fr;
+ grid-gap: 1rem;
+}
+
+#sandpoints {
+ width: 80%;
+ margin-left: 1rem;
+ margin-top: 1rem;
+}
+
+label {
+ grid-column: 1/2;
+ text-transform: capitalize;
+}
+
+input, button, textarea {
+ grid-column: 2/3;
+}
+
+textarea {
+ height: 10rem;
+}
diff --git a/src/App.svelte b/src/App.svelte
index 29e50b7..9c9e452 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -59,6 +59,9 @@
el.onload = ()=> {
console.log("loading...")
v = repo.content;
+ if (v.startsWith("\n")) {
+ v = v.substring(1)
+ }
path = repo.path;
console.log(JSON.stringify(repo))
generateFrontMatter(repo.frontmatter, path, document.location.protocol.substring(0,4))
@@ -77,12 +80,14 @@