Skip to content

Commit 6f91f60

Browse files
committed
Fix problem of the row
1 parent d9cbb81 commit 6f91f60

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

app/views/footer_widget/show.html.erb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
This is the show view of the <%= FooterWidget.description_for_editor %>.
1+
<div class="col-12">
2+
<div class="col-3 cover-bg-blue ">
3+
<%= scrivito_tag :h6, widget, :headline, data: {newlines: false}, class:'cover-text-white' style:'padding-top:10px; '%>
4+
<%= scrivito_tag :p, widget, :text, class:'cover-text-white', style:'padding-bottom:25px; padding-top:25px;'%>
5+
</div>
6+
</div>

app/views/layouts/application.html.erb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
</head>
1111
<body>
1212
<center>
13-
<%= yield %>
14-
<%= scrivito_body_tags %>
13+
<row>
14+
<%= yield %>
15+
<%= scrivito_body_tags %>
16+
</row>>
1517
</center>
1618
</body>
1719
</html>
Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
<div class="row">
2-
<div class="col-12">
3-
<div class="col-3 cover-bg-blue ">
4-
<%= scrivito_image_tag widget, :image, class:'image-responsive'%>
5-
<%= scrivito_tag :h1, widget, :headline, data: {newlines: false}, class:'cover-text-white' %>
6-
<%= scrivito_tag :p, widget, :text, class:'cover-text-white', style:'padding-bottom:25px;'%>
7-
</div>
1+
<div class="col-12">
2+
<div class="col-3 cover-bg-blue ">
3+
<%= scrivito_image_tag widget, :image, class:'image-responsive'%>
4+
<%= scrivito_tag :h1, widget, :headline, data: {newlines: false}, class:'cover-text-white' %>
5+
<%= scrivito_tag :p, widget, :text, class:'cover-text-white', style:'padding-bottom:25px;'%>
86
</div>
9-
</div>
7+
</div>

0 commit comments

Comments
 (0)