Skip to content

Commit

Permalink
fixing image wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
zipper3030 committed May 10, 2024
1 parent e2fcf8f commit 0358992
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _layouts/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h5 class="card-title">{{ data.title }}</h5>
<p class="card-text">{{ data.description }}</p>
</div>
<div class="news-image-container">
<div class="image-wrapper">
<div class="news-image-wrapper">
<img src="{{ data.image }}" class="news-image img-fluid" alt="{{ data.title }}">
</div>
<div class="additional-text" style="display: none;">
Expand Down
2 changes: 1 addition & 1 deletion assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ ul li {
width: 50%;
}

.image-wrapper {
.news-image-wrapper {
width: 400px;
height: 250px;
overflow: hidden;
Expand Down

0 comments on commit 0358992

Please sign in to comment.