From a9d73d164a0fc6b4753360ea2ff2c72332bf99ba Mon Sep 17 00:00:00 2001 From: Greenscreener Date: Mon, 18 May 2020 19:43:43 +0200 Subject: [PATCH] Fixed an issue, where the logo would be off center, if the font-family attribute was applied to the element. --- patek-logo.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/patek-logo.js b/patek-logo.js index bad71d1..044d7a8 100644 --- a/patek-logo.js +++ b/patek-logo.js @@ -19,7 +19,7 @@ template.innerHTML = ` font-weight: bold; } #titlePlaceholder { - margin-right: -1.15em; + margin-right: -1.55em; visibility: hidden; } #titleText { @@ -44,6 +44,7 @@ template.innerHTML = ` white-space: nowrap; } :host { + font-family: "Fira Code", monospace; display: inline-block; vertical-align: top; margin-bottom: -0.3em;