Skip to content

Commit

Permalink
fix(electron): use proper quotes on splashHtml style font (#2083)
Browse files Browse the repository at this point in the history
  • Loading branch information
walkingriver authored and jcesarmobile committed Oct 24, 2019
1 parent 64aa6c7 commit 7bb4404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electron/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class CapacitorSplashScreen {
let splashHtml = this.splashOptions.customHtml || `
<html style="width: 100%; height: 100%; margin: 0; overflow: hidden;">
<body style="background-image: url('./${this.splashOptions.imageFileName}'); background-position: center center; background-repeat: no-repeat; width: 100%; height: 100%; margin: 0; overflow: hidden;">
<div style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: ${this.splashOptions.textColor}; position: absolute; top: ${this.splashOptions.textPercentageFromTop}%; text-align: center; font-size: 10vw; width: 100vw;>
<div style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: ${this.splashOptions.textColor}; position: absolute; top: ${this.splashOptions.textPercentageFromTop}%; text-align: center; font-size: 10vw; width: 100vw;">
${this.splashOptions.loadingText}
</div>
</body>
Expand Down

0 comments on commit 7bb4404

Please sign in to comment.