Skip to content

Commit

Permalink
Merge pull request #1365 from ubyssey/increase-images-resolution
Browse files Browse the repository at this point in the history
Increase image resolution, remove author capitalization
  • Loading branch information
SamuelmdLow authored Nov 29, 2023
2 parents 57dc904 + f82cad2 commit 96afbfe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions article/templates/article/objects/cover_story.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
<div class="o-article__left">
<a class="o-article__image" href={% pageurl article %}>
{% if article.featured_media.first.image %}
{% image article.featured_media.first.image width-660 format-webp %}
{% image article.featured_media.first.image width-1320 format-webp %}
{% elif article.featured_media.first.video %}
<img src="http://img.youtube.com/vi/{{ article.featured_media.first.video.url|youtube_embed_id|safe }}/0.jpg" alt=""/>
{% else %}
{% image article.featured_media width-660 format-webp %}
{% image article.featured_media width-1320 format-webp %}
{% endif %}
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion article/templates/article/objects/featured_media.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{% with featured_media.first as featured_image_object %}
<div class="featured-media">
{% image featured_image_object.image original as original_image %}
{% image featured_image_object.image width-500 format-webp as featured_image %}
{% image featured_image_object.image width-1200 format-webp as featured_image %}
<img class="article-attachment"
data-id="{{ featured_image_object.id }}"
data-caption="{% if featured_image_object.caption %}{{ featured_image_object.caption }}{% endif %}"
Expand Down
2 changes: 0 additions & 2 deletions ubyssey/static_src/src/styles/modules/article/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,6 @@ div.indicator {
font-style: bold;
color: var(--authors-title-bio);
text-align: left;
text-transform: capitalize;


&:hover {
color: $color-accent-blue;
Expand Down

0 comments on commit 96afbfe

Please sign in to comment.