Skip to content

Commit d7e8227

Browse files
committed
MAGETWO-33969: Distance between "Log in" & "or" isn't equal to distance between "or" & "Register" in Frontend header
1 parent 7e7e1e9 commit d7e8227

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

app/design/frontend/Magento/blank/Magento_Theme/web/css/source/_module.less

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,15 @@ body {
254254
.navigation ul {
255255
padding: 0 8px;
256256
}
257+
257258
.header {
258259
&.panel {
259260
> .header.links {
260261
float: right;
262+
font-size: 0;
261263
.list-inline();
262264
> li {
265+
font-size: @font-size__base;
263266
margin: 0 0 0 15px;
264267
&.welcome,
265268
a {
@@ -275,7 +278,7 @@ body {
275278
}
276279
}
277280
&.content {
278-
padding: 30px 20px 0;
281+
padding: @indent__l @indent__base 0;
279282
&:extend(.abs-add-clearfix-desktop all);
280283
}
281284
}
@@ -287,8 +290,8 @@ body {
287290
border-bottom: 1px solid @secondary__color;
288291
}
289292
.header.panel {
290-
padding-top: 10px;
291-
padding-bottom: 10px;
293+
padding-top: @indent__s;
294+
padding-bottom: @indent__s;
292295
&:extend(.abs-add-clearfix-desktop all);
293296
}
294297
.switcher {

app/design/frontend/Magento/luma/Magento_Theme/web/css/source/_module.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,11 @@
101101
> .header.links {
102102
.list-inline();
103103
float: right;
104+
font-size: 0;
104105
margin-left: auto;
105106
margin-right: @indent__base;
106107
> li {
108+
font-size: @font-size__base;
107109
margin: 0 0 0 15px;
108110
> a {
109111
.link(

0 commit comments

Comments
 (0)