Skip to content

Commit

Permalink
Правит задание размеров аватарам в статье (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
monochromer authored Sep 15, 2023
1 parent f8953d7 commit 601a20b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/layouts/article.njk
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ layout: page.njk
<span class="creators__author-avatar blob {% blob person.name %}">
<img class="blob__photo"
src="/people/{{ personPhoto }}"
width="113" height="104" alt="{{ person.name }}">
width="100" height="100" alt="{{ person.name }}">
</span>
<span class="creators__author-name" itemprop="author">
{{ person.name }}
Expand All @@ -76,7 +76,7 @@ layout: page.njk
<span class="creators__author-avatar blob {% blob person.name %}">
<img class="blob__photo"
src="/people/{{ personPhoto }}"
width="113" height="104" alt="{{ person.name }}">
width="100" height="100" alt="{{ person.name }}">
</span>
<span class="creators__author-name" itemprop="author">
{{ person.name }}
Expand Down
1 change: 1 addition & 0 deletions src/styles/blocks/blob.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,5 @@
grayscale(1)
brightness(1.1)
contrast(1.3);
object-fit: cover;
}
1 change: 0 additions & 1 deletion src/styles/blocks/creators.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
width: 100px;
height: 100px;
margin-bottom: 26px;
object-fit: cover;
}

@media (min-width: 1024px) {
Expand Down
4 changes: 0 additions & 4 deletions src/styles/print.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,6 @@ figure {
margin-bottom: 10px;
}

.blob::before {
display: none;
}

.blob__photo {
mix-blend-mode: normal;
}

0 comments on commit 601a20b

Please sign in to comment.