Skip to content

Commit d8c86b3

Browse files
committed
Copied the definition of '.abs-rating-summary' from Luma to Blank theme so they can both use it.
1 parent beeb56c commit d8c86b3

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

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

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
& when (@media-common = true) {
180180
.abs-block-title {
181181
margin-bottom: 15px;
182-
182+
183183
> strong {
184184
.lib-heading(h3);
185185
}
@@ -194,7 +194,7 @@
194194
.abs-account-blocks {
195195
.block-title {
196196
&:extend(.abs-block-title all);
197-
197+
198198
> .action {
199199
margin-left: 15px;
200200
}
@@ -849,6 +849,33 @@
849849
}
850850
}
851851

852+
//
853+
// Ratings: vertical alignment
854+
// ---------------------------------------------
855+
856+
& when (@media-common = true) {
857+
.abs-rating-summary {
858+
.rating {
859+
&-summary {
860+
display: table-row;
861+
}
862+
863+
&-label {
864+
display: table-cell;
865+
padding-bottom: @indent__xs;
866+
padding-right: @indent__m;
867+
padding-top: 1px;
868+
vertical-align: top;
869+
}
870+
871+
&-result {
872+
display: table-cell;
873+
vertical-align: top;
874+
}
875+
}
876+
}
877+
}
878+
852879
//
853880
// Add colon
854881
// ---------------------------------------------

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@
12121212
}
12131213

12141214
//
1215-
// Forms: margin-bottom for small forms
1215+
// Ratings: vertical alignment
12161216
// ---------------------------------------------
12171217

12181218
& when (@media-common = true) {

0 commit comments

Comments
 (0)