diff --git a/src/Deck.vue b/src/Deck.vue index 7ea77d5..ffc8387 100644 --- a/src/Deck.vue +++ b/src/Deck.vue @@ -67,9 +67,4 @@ .deck svg { white-space: initial; } - - .deck svg p { - margin-top: 0; - margin-bottom: .5em; - } diff --git a/src/Editor.vue b/src/Editor.vue index 2dd98d7..439ec9e 100644 --- a/src/Editor.vue +++ b/src/Editor.vue @@ -114,9 +114,25 @@ upload() { this.uploading = true; + // TODO: remove this nasty hack + function bindStyles(doc) { + console.log(doc); + // get existing styles from CSS... + let style = Array.from(document.styleSheets[0].rules) + .map(rule => rule.cssText) + .join('\n'); + // ...and jam them into a diff --git a/src/template/hero/character-back.svg b/src/template/hero/character-back.svg index 8fa801f..0ecb023 100644 --- a/src/template/hero/character-back.svg +++ b/src/template/hero/character-back.svg @@ -4,7 +4,5 @@ - -
-
+ diff --git a/src/template/hero/character.svg b/src/template/hero/character.svg index 17d816b..9abbaa1 100644 --- a/src/template/hero/character.svg +++ b/src/template/hero/character.svg @@ -28,8 +28,6 @@ {{card.hp }} {{ card.power }} - -
Power Text
-
+ Art By {{ card.artist }} diff --git a/src/template/hero/deck.svg b/src/template/hero/deck.svg index bfb2b0d..c767497 100644 --- a/src/template/hero/deck.svg +++ b/src/template/hero/deck.svg @@ -322,9 +322,7 @@ {{ card.hp }} - -
Text Here
-
+ {{ card.quote }} - {{ card.quoteCitation }} Art By {{ card.artist }}