Skip to content

Commit 070a15c

Browse files
author
Oleg Zinoviev
committed
MAGETWO-37722: Colon is displayed before every Product Attribute label on Frontend PDP
- CR
1 parent e96d4a6 commit 070a15c

File tree

2 files changed

+24
-16
lines changed

2 files changed

+24
-16
lines changed

app/design/frontend/Magento/blank/web/css/source/_tables.less

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ table {
2323
@_table_border-width: @table__border-width
2424
);
2525
tfoot {
26-
> tr:first-child {
27-
th,
28-
td {
29-
border-top: @table__border-width @table__border-style @table__border-color;
30-
padding-top: @indent__base;
26+
> tr {
27+
&:first-child {
28+
th,
29+
td {
30+
border-top: @table__border-width @table__border-style @table__border-color;
31+
padding-top: @indent__base;
32+
}
3133
}
3234
}
3335
.mark {
@@ -90,9 +92,11 @@ table {
9092
th {
9193
&:extend(.abs-no-display-s all);
9294
}
93-
td:last-child {
94-
border: none;
95-
padding: 0 0 @indent__xs;
95+
td {
96+
&:last-child {
97+
border: none;
98+
padding: 0 0 @indent__xs;
99+
}
96100
}
97101
}
98102
}

app/design/frontend/Magento/luma/web/css/source/_tables.less

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ table {
2020
.table {
2121
tfoot {
2222
.css(background, @sidebar__background-color);
23-
> tr:first-child {
24-
th,
25-
td {
26-
border-top: @table__border-width @table__border-style @table__border-color;
27-
padding-top: @indent__base;
23+
> tr {
24+
&:first-child {
25+
th,
26+
td {
27+
border-top: @table__border-width @table__border-style @table__border-color;
28+
padding-top: @indent__base;
29+
}
2830
}
2931
}
3032
th,
@@ -100,9 +102,11 @@ table {
100102
th {
101103
&:extend(.abs-no-display-s all);
102104
}
103-
td:last-child {
104-
border: none;
105-
padding: 0 0 @indent__xs;
105+
td {
106+
&:last-child {
107+
border: none;
108+
padding: 0 0 @indent__xs;
109+
}
106110
}
107111
}
108112
}

0 commit comments

Comments
 (0)