Skip to content

Commit

Permalink
Remove inline img width.
Browse files Browse the repository at this point in the history
  • Loading branch information
jholdstock committed Aug 27, 2024
1 parent 6518bc3 commit e2b3eb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/layouts/partials/news/news-list.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ range .items }}
<div class="news-item {{ $.filterCategory }}" style="order: {{ (.Params.sortDate | time.AsTime).Unix }}">
<a href="{{ .Permalink }}" {{ if not .Page }} target="_blank" {{ end }} rel="noopener noreferrer">
<img class="news-icon" src="{{ $.site.BaseURL }}/images/news-icons/{{ .Params.icon }}" width="30" alt="" />
<img class="news-icon" src="{{ $.site.BaseURL }}/images/news-icons/{{ .Params.icon }}" alt="" />

<div class="news-item-wrapper">
<p>
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/partials/news/software-release-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<div class="news-item {{ $.filterCategory }}" style="order: {{ (.Params.sortDate | time.AsTime).Unix }}">
<a href="{{ .Permalink }}" {{ if not .Page }} target="_blank" {{ end }} rel="noopener noreferrer">
<img class="news-icon" src="{{ $.site.BaseURL }}/images/software-icons/{{ $software.icon }}" width="30" alt="" />
<img class="news-icon" src="{{ $.site.BaseURL }}/images/software-icons/{{ $software.icon }}" alt="" />

<div class="news-item-wrapper">
<p>
Expand Down

0 comments on commit e2b3eb1

Please sign in to comment.