Commit e6a0c099 authored by Floréal Toumikian's avatar Floréal Toumikian

Fixed: Image display on mobile devices

parent 67303a8e
Pipeline #26449 passed with stage
in 1 minute and 13 seconds
html {
font-family: GillSans, Calibri, Trebuchet, sans-serif;
}
a {
color: #689f38;
}
......@@ -28,3 +24,8 @@ main {
list-style-type: initial;
list-style-position: inside;
}
img {
max-width: 100%;
height: auto;
}
......@@ -2,5 +2,5 @@
<i class="small material-icons">person</i>
<% for author in authors(article) %><div class="chip left"><img src="/images/person/<%= author %>.jpg" alt="avatar (<%= author %>)" /> <%= author %></div><% end %>
</div>
<div class="valign-wrapper"><i class="small material-icons">access_time</i> <%= localize_date attribute_to_time(article[:created_at]) %></div>
<div class="valign-wrapper"><i class="small material-icons">label</i> <%= tag_links_for(article, ' ', class: "chip") %></div>
<div class="valign-wrapper"><div class="left"><i class="small material-icons">access_time</i></div><div><%= localize_date attribute_to_time(article[:created_at]) %></div></div>
<div class="valign-wrapper"><div class="left"><i class="small material-icons">label</i></div><div><%= tag_links_for(article, ' ', class: "chip") %></div></div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment