Skip to content

Commit 3f210d3

Browse files
committed
fix: correct brand logo width calculation in layout styles
1 parent 53ad900 commit 3f210d3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
border-bottom: var(--navtopbar-border-bottom);
7373

7474
// allow secondary color for different type of navbar
75-
&.topbar-secondary{
75+
&.topbar-secondary {
7676
background: var(--navtopbar-bg-secondary, --navtopbar-bg);
7777
}
7878

@@ -107,8 +107,9 @@
107107
@if $brand-logo !=false {
108108
width: 0;
109109
height: 0;
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}));
110+
padding: calc(var(--brand-logo-height, $brand-logo-height) / 2)
111+
calc(var(--brand-logo-width, $brand-logo-width) / 2);
112+
background-image: url(#{$brand-logo});
112113
background-repeat: no-repeat;
113114
background-position: left center;
114115
background-size: var(--brand-logo-width);

0 commit comments

Comments
 (0)