Skip to content

Commit 88be1af

Browse files
authored
Update recommend.css
CSS selectors are too generic and can cause negative effects to other uses of the CSS classes on the page that are not related to Algolia.
1 parent 18e66f0 commit 88be1af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

view/frontend/web/internals/recommend.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
.product-img {
1+
.recommend-item .product-img {
22
width: 180px;
33
}
44
.auc-Recommend-list {
55
display: flex;
66
justify-content: space-evenly;
77
list-style: none;
88
}
9-
.product-name {
9+
.recommend-item .product-name {
1010
height: 50px;
1111
width: 110px;
1212
margin: 0 auto;
@@ -50,12 +50,12 @@
5050
flex-wrap: wrap;
5151
justify-content: flex-start;
5252
}
53-
.product-details .action.primary, .action-primary{
53+
.product-details .recommend-item .action.primary, .action-primary{
5454
background: #f4f4f4;
5555
border: 1px solid #f4f4f4;
5656
color: #666666;
5757
}
58-
.product-details .action.primary:hover, .action-primary:hover {
58+
.product-details .recommend-item .action.primary:hover, .action-primary:hover {
5959
border-color: #1979c3;
6060
background: #1979c3;
6161
color: #FFFFFF;

0 commit comments

Comments
 (0)