| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b9ba7a1 commit 830a881
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -116,7 +116,8 @@ class Header extends BaseLitComponent { | |||
| 116 | 116 | : window.config?.theme?.logo?.url || '/'}" | |
| 117 | 117 | alt-text="${window.config?.theme?.logo?.altText || ''}" | |
| 118 | 118 | theme="${this.themeMode}" | |
| 119 | - ratio="${window.config?.theme?.logo?.ratio || ''}" | ||
| 119 | + width="${window.config?.theme?.logo?.width || ''}" | ||
| 120 | + height="${window.config?.theme?.logo?.height || ''}" | ||
| 120 | 121 | text="${window.config?.theme?.logo?.text === '' || | |
| 121 | 122 | window.config?.theme?.logo?.text === false || | |
| 122 | 123 | window.config?.theme?.logo?.text === 'none' | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,7 +20,8 @@ class Logo extends BaseLitComponent { | |||
| 20 | 20 | ||
| 21 | 21 | static get properties() { | |
| 22 | 22 | return { | |
| 23 | - ratio: String, | ||
| 23 | + width: String, | ||
| 24 | + height: String, | ||
| 24 | 25 | theme: String, | |
| 25 | 26 | url: String, | |
| 26 | 27 | text: String, | |
@@ -48,6 +49,8 @@ class Logo extends BaseLitComponent { | |||
| 48 | 49 | alt=${this.altText || 'Pattern Lab Logo'} | |
| 49 | 50 | src=${imageSrc} | |
| 50 | 51 | class="pl-c-logo__img" | |
| 52 | + width="${this.width}" | ||
| 53 | + height="${this.height}" | ||
| 51 | 54 | /> | |
| 52 | 55 | ${this.text && this.text !== '' | |
| 53 | 56 | ? html` | |
| Back | FazBrowse Home | New Git URL |
0 commit comments