mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-02-11 21:20:53 +00:00
Fixed image centering on new-articles
This commit is contained in:
@ -471,7 +471,8 @@ body {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
&.wide {
|
&.wide {
|
||||||
height: 100%
|
height: 100%;
|
||||||
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.tall {
|
&.tall {
|
||||||
|
|||||||
@ -14,7 +14,7 @@ title: "Watch Out!, IIT Roorkee"
|
|||||||
<a href="{{ post.url }}">
|
<a href="{{ post.url }}">
|
||||||
<div class="cover-container-container">
|
<div class="cover-container-container">
|
||||||
<div class="center-fill-container img-container">
|
<div class="center-fill-container img-container">
|
||||||
<img src="/images/posts/{{post.image}}" alt="" class="img-center-fill {% if post.image == null %}hidden{% endif %}">
|
<img src="/images/posts/{{post.image}}" alt="" class="img-center-fill center-both {% if post.image == null %}hidden{% endif %}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="details text-center ">
|
<div class="details text-center ">
|
||||||
@ -41,7 +41,7 @@ title: "Watch Out!, IIT Roorkee"
|
|||||||
|
|
||||||
<a href="{{ post.url }}">
|
<a href="{{ post.url }}">
|
||||||
<div class="center-fill-container article-cover-container">
|
<div class="center-fill-container article-cover-container">
|
||||||
<img src="/images/posts/{{ post.image }}" class="img-center-fill {% if post.image == null %}hidden{% endif %}">
|
<img src="/images/posts/{{ post.image }}" class="img-center-fill center-both {% if post.image == null %}hidden{% endif %}">
|
||||||
</div>
|
</div>
|
||||||
<div class="details text-center">
|
<div class="details text-center">
|
||||||
<div class="tag">{{ post.category }}</div>
|
<div class="tag">{{ post.category }}</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user