Skip to content

Commit

Permalink
add some edits
Browse files Browse the repository at this point in the history
  • Loading branch information
KristinaHranovska committed Feb 10, 2024
1 parent 639a9c1 commit 7475cae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/css/quote-favorities.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
}

@media screen and (min-width: 768px) {
.quote {
.quote-favorites {
margin-bottom: 16px;
}

Expand Down Expand Up @@ -78,7 +78,7 @@
}

@media screen and (min-width: 1440px) {
.quote {
.quote-favorites {
margin-bottom: 0;
}

Expand Down
6 changes: 5 additions & 1 deletion src/css/quote.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,15 @@

.quote-img {
height: 272px;
width: 100%;
background-image: url('../img/quote/quote_mobile.webp');
background-repeat: no-repeat;
background-size: contain;
background-size: cover;
background-position: center;
border-radius: 30px;
}


@media screen and (min-width: 320px) and (min-resolution: 192dpi) {
.quote-img {
background-image: url('../img/quote/quote_mobile@2x.webp');
Expand Down
2 changes: 1 addition & 1 deletion src/partials/quote-favorities.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<section class="section">
<div class="container quote-block">
<div class="quote">
<div class="quote quote-favorites">
<div class="quote-main-title">
<svg class="icon-quote-fitness" width="34" height="32">
<use href="./img/icons/sprite.svg#icon-quote-fitness"></use>
Expand Down

0 comments on commit 7475cae

Please sign in to comment.