Skip to content

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

Fix userprofile menu borders

Krzysztof Białogłowicza85aaf22e0bf
diff --git a/saleor/static/scss/storefront/components/_userprofile.scss b/saleor/static/scss/storefront/components/_userprofile.scss
index 3a5ff049a3..43af94069c 100644
--- a/saleor/static/scss/storefront/components/_userprofile.scss
+++ b/saleor/static/scss/storefront/components/_userprofile.scss
@@ -19,7 +19,7 @@
.nav {
display: block;
text-align: center;
- border: 0;
+ border-bottom: solid 1px $gray;
@include media-breakpoint-down(xs) {
text-align: center;
padding-right: 0;
@@ -36,7 +36,7 @@
margin-left: 0;
}
.nav-link {
- padding: $global-padding $global-padding * 2;
+ padding: $global-padding / 2 $global-padding * 2;
margin-top: $global-margin / 2;
display: inline-block;
transition: 0.3s;
@@ -89,9 +89,7 @@
}
}
&__password {
- h1 {
- margin-bottom: $global-margin * 2;
- }
+ margin-top: $global-margin * 2;
.btn {
margin-top: $global-margin;
float: right;
@@ -109,7 +107,7 @@
.card {
width: 100%;
border-radius: 3px;
- margin: $global-margin 0;
+ margin-bottom: $global-margin * 2;
@include transition(background, 0.3s)
&:hover {
background: $light-gray;
diff --git a/templates/userprofile/details.html b/templates/userprofile/details.html
index 41247f915a..72b579a720 100644
--- a/templates/userprofile/details.html
+++ b/templates/userprofile/details.html
@@ -21,7 +21,7 @@
<h2>{% trans "My account" %}</h2>
<ul class="nav nav-tabs col-lg-10 offset-lg-1" role="tablist">
<li class="nav-item">
- <a class="nav-link active" data-toggle="tab" href="#orders" role="tab"><h3>{% trans "Orders" %}</h3></a>
+ <a class="nav-link active" data-toggle="tab" href="#orders" role="tab"><h3>{% trans "Recent Orders" %}</h3></a>
</li>
<li class="nav-item">
<a class="nav-link " data-toggle="tab" href="#password" role="tab"><h3>{% trans "Change password" %}</h3></a>