Добавили в компонент Product иконку сердца и создали состояние для нее
This commit is contained in:
+18
-12
@@ -97,21 +97,27 @@
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
button {
|
||||
border: 1px solid $primary-color;
|
||||
background-color: $white-color;
|
||||
color: $primary-color;
|
||||
border-radius: 5px;
|
||||
outline: 0;
|
||||
.actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
|
||||
font-size: 20px;
|
||||
padding: 5px 10px;
|
||||
button {
|
||||
border: 1px solid $primary-color;
|
||||
background-color: $white-color;
|
||||
color: $primary-color;
|
||||
border-radius: 5px;
|
||||
outline: 0;
|
||||
|
||||
cursor: pointer;
|
||||
font-size: 20px;
|
||||
padding: 5px 10px;
|
||||
|
||||
&:hover {
|
||||
background-color: $seconday-color;
|
||||
color: $white-color;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
background-color: $seconday-color;
|
||||
color: $white-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user