Skip to content

Commit 9733137

Browse files
committed
Fix spacing error and duplicate
1 parent 0f499f2 commit 9733137

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

app/assets/stylesheets/application.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919

2020
.cover-bg-blue{background-color:#2275CA;}
2121
.cover-text-white{color:#FFFFFF;}
22-
a {color:#FFFFF;}
22+
.a {color:#FFFFF;}

app/models/footer_widget.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
class FooterWidget < Widget
22
attribute :headline, :html
3-
attribute :text, :html
3+
attribute :paragraph, :html
44
end

app/views/footer_widget/show.html.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="col-12">
2-
<div class="col-3 cover-bg-blue link-text-white">
3-
<%= scrivito_tag :h4, widget, :text, class:'cover-text-white', style:'padding-top:10px;' %>
4-
<%= scrivito_tag :p, widget, :text, class:'cover-text-white', style:'padding-bottom:30; padding-top:40px;' %>
2+
<div class="col-3 cover-bg-blue">
3+
<%= scrivito_tag :h5, widget, :headline, class:'cover-text-white', style:'padding-top:20px;' %>
4+
<%= scrivito_tag :p, widget, :paragraph, class:'cover-text-white', style:'padding-bottom:60; padding-top:20px;' %>
55
</div>
66
</div>
77

0 commit comments

Comments
 (0)