Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Set width to auto for logo in storefront

Unknownfcdbd48fdafc
diff --git a/saleor/static/scss/components/_footer.scss b/saleor/static/scss/components/_footer.scss
index 464360b34b..d86be86d97 100644
--- a/saleor/static/scss/components/_footer.scss
+++ b/saleor/static/scss/components/_footer.scss
@@ -36,7 +36,8 @@
&__logo {
margin-bottom: $global-margin;
svg {
- width: 113px;
+ height: 38px;
+ width: auto;
}
}
hr {
diff --git a/saleor/static/scss/components/_header.scss b/saleor/static/scss/components/_header.scss
index 8a2ea7ffcf..18b9fe70e3 100644
--- a/saleor/static/scss/components/_header.scss
+++ b/saleor/static/scss/components/_header.scss
@@ -176,7 +176,8 @@
display: flex;
align-items: center;
svg {
- width: 113px;
+ height: 38px;
+ width: auto;
}
.menu-icon-mobile {
position: relative;
diff --git a/templates/base.html b/templates/base.html
index 529c2a7257..b596af00f3 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -119,7 +119,7 @@
<svg data-src="{% static "images/mobile-menu.svg" %}" width="28px" height="20px"/>
</div>
<a href="{% url 'home' %}">
- <svg data-src="{% static "images/logo-document.svg" %}" height="38px"/>
+ <svg data-src="{% static "images/logo-document.svg" %}"/>
</a>
</div>
<div class="col-2 col-md-5 navbar__search static">
@@ -290,7 +290,7 @@
<div class="row">
<div class="col-4">
<a href="{% url 'home' %}" class="footer__logo">
- <svg data-src="{% static "images/logo-document.svg" %}" height="38px"/>
+ <svg data-src="{% static "images/logo-document.svg" %}"/>
</a>
</div>
<div class="col-8 footer__copy-text">COPYRIGHT © 2009–2019 MIRUMEE SOFTWARE</div>