diff --git a/app/assets/stylesheets/extranet/pages/_posts.sass b/app/assets/stylesheets/extranet/pages/_posts.sass
index b967fba250fa8f1f7f6b1ee39640ab0389c73b90..3cf0c482cf747d9a2084aa887a3a5a26ca905779 100644
--- a/app/assets/stylesheets/extranet/pages/_posts.sass
+++ b/app/assets/stylesheets/extranet/pages/_posts.sass
@@ -2,8 +2,8 @@
     figure
         @include media-breakpoint-up(md)
             display: inline-block
-            position: relative
             padding-left: 2.813rem
+            position: relative
             width: 25%
         picture img
             width: 100%
diff --git a/app/views/extranet/posts/posts/show.html.erb b/app/views/extranet/posts/posts/show.html.erb
index a923c8c045862f4b00d4e235f4411b898325b6d8..df92a2c85ad8cf28f31d9afac3f6801ebb902505 100644
--- a/app/views/extranet/posts/posts/show.html.erb
+++ b/app/views/extranet/posts/posts/show.html.erb
@@ -2,9 +2,9 @@
 
 <% content_for :header_right do %>
   <% if @post.featured_image.attached? %>
-    <figure <% if !@post.featured_image_credit.blank? %>class="with-credit"<% end %>>
+    <figure <% if @post.featured_image_credit.present? %>class="with-credit"<% end %>>
       <%= kamifusen_tag @post.featured_image, class: 'img-fluid', width: 300 %>
-      <% if !@post.featured_image_credit.blank? %>
+      <% if @post.featured_image_credit.present? %>
         <figcaption tabindex="0">
             <%= sanitize @post.featured_image_credit %>
         </figcaption>