Skip to content
Snippets Groups Projects
Commit ab6d63a4 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

layout

parent cfa53a72
No related branches found
No related tags found
No related merge requests found
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
blob = component.blob blob = component.blob
return unless blob return unless blob
%> %>
<%= kamifusen_tag blob, width: 600, class: 'img-fluid' %> <%= kamifusen_tag blob, width: 600, class: 'img-fluid mb-1' %>
<%= block_component_preview :image %> <%= block_component_preview :image %>
<p class="small mb-0"> <div class="small">
<%= block_component_preview :image_alt %> <p class="mb-0">
<%= block_component_preview :image_alt %>
</p>
<%= block_component_preview :image_credit %> <%= block_component_preview :image_credit %>
</p> </div>
<%= block_component_preview :text %> <%= block_component_preview :text %>
<%= block_component_preview :notes %> <%= block_component_preview :notes %>
...@@ -5,10 +5,12 @@ ...@@ -5,10 +5,12 @@
<article class="card"> <article class="card">
<%= block_component_preview :image, template: element %> <%= block_component_preview :image, template: element %>
<div class="card-body"> <div class="card-body">
<p class="small mb-0"> <div class="small">
<%= block_component_preview :alt, template: element %> <p class="mb-0">
<%= block_component_preview :alt, template: element %>
</p>
<%= block_component_preview :credit, template: element %> <%= block_component_preview :credit, template: element %>
</p> </div>
<p class="mb-0"> <p class="mb-0">
<%= block_component_preview :text, template: element %> <%= block_component_preview :text, template: element %>
</p> </p>
......
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