Skip to content

Commit

Permalink
Remove redundant font-size class from generators (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
weizheheng authored Dec 18, 2021
1 parent 124813d commit 91406c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<h1 class="text-lg font-bold text-4xl"><%= class_name %>#<%= @action %></h1>
<h1 class="font-bold text-4xl"><%= class_name %>#<%= @action %></h1>
<p>Find me in <%= @path %></p>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<%% end %>

<div class="flex justify-between items-center">
<h1 class="text-lg font-bold text-4xl"><%= human_name.pluralize %></h1>
<h1 class="font-bold text-4xl"><%= human_name.pluralize %></h1>
<%%= link_to 'New <%= human_name.downcase %>', new_<%= singular_route_name %>_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %>
</div>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="mx-auto md:w-2/3 w-full">
<h1 class="text-lg font-bold text-4xl">New <%= human_name.downcase %></h1>
<h1 class="font-bold text-4xl">New <%= human_name.downcase %></h1>

<%%= render "form", <%= singular_table_name %>: @<%= singular_table_name %> %>

Expand Down

0 comments on commit 91406c2

Please sign in to comment.