Skip to content
Snippets Groups Projects
Commit 27661aa6 authored by Olivia206's avatar Olivia206
Browse files

fixed credit

parent a5247102
No related branches found
No related tags found
No related merge requests found
.posts-show header figure
display: inline-block
position: relative
&::after
&.with-credit::after
bottom: 0
content: '©'
padding: 0.5rem
......
......@@ -2,7 +2,7 @@
<% content_for :header_right do %>
<% if @post.featured_image.attached? %>
<figure>
<figure <% if !@post.featured_image_credit.blank? %>class="with-credit"<% end %>>
<%= kamifusen_tag @post.featured_image, class: 'img-fluid', width: 300 %>
<% if !@post.featured_image_credit.blank? %>
<figcaption tabindex="0">
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment