Skip to content

Commit 4c8b387

Browse files
committed
fix: replace hardcoded values with scss variable, correct background image syntax
1 parent ad14237 commit 4c8b387

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/atlas/src/themesource/atlas_core/web/layouts/_layout-atlas.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@
107107
@if $brand-logo !=false {
108108
width: 0;
109109
height: 0;
110-
padding: calc(var(--brand-logo-height, 32px) / 2) calc(var(--brand-logo-width, 32px) / 2);
111-
background-image: url(#{$brand-logo});
110+
padding: calc(var(--brand-logo-height, $brand-logo-height) / 2) calc(var(--brand-logo-width, $brand-logo-height) / 2);
111+
background-image: url(var(--brand-logo, #{$brand-logo}));
112112
background-repeat: no-repeat;
113113
background-position: left center;
114114
background-size: var(--brand-logo-width);

0 commit comments

Comments
 (0)