File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
packages/uikit-workshop/src/scripts/lit-components Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,8 @@ class Header extends BaseLitComponent {
116116 : window . config ?. theme ?. logo ?. url || '/' } "
117117 alt-text ="${ window . config ?. theme ?. logo ?. altText || '' } "
118118 theme ="${ this . themeMode } "
119- ratio ="${ window . config ?. theme ?. logo ?. ratio || '' } "
119+ width ="${ window . config ?. theme ?. logo ?. width || '' } "
120+ height ="${ window . config ?. theme ?. logo ?. height || '' } "
120121 text ="${ window . config ?. theme ?. logo ?. text === '' ||
121122 window . config ?. theme ?. logo ?. text === false ||
122123 window . config ?. theme ?. logo ?. text === 'none'
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ class Logo extends BaseLitComponent {
2020
2121 static get properties ( ) {
2222 return {
23- ratio : String ,
23+ width : String ,
24+ height : String ,
2425 theme : String ,
2526 url : String ,
2627 text : String ,
@@ -48,6 +49,8 @@ class Logo extends BaseLitComponent {
4849 alt =${ this . altText || 'Pattern Lab Logo' }
4950 src =${ imageSrc }
5051 class="pl-c-logo__img"
52+ width="${ this . width } "
53+ height="${ this . height } "
5154 />
5255 ${ this . text && this . text !== ''
5356 ? html `
You can’t perform that action at this time.
0 commit comments