Skip to content

Commit 91406c2

Browse files
authored
Remove redundant font-size class from generators (#97)
1 parent 124813d commit 91406c2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<div>
2-
<h1 class="text-lg font-bold text-4xl"><%= class_name %>#<%= @action %></h1>
2+
<h1 class="font-bold text-4xl"><%= class_name %>#<%= @action %></h1>
33
<p>Find me in <%= @path %></p>
44
</div>

lib/generators/tailwindcss/scaffold/templates/index.html.erb.tt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<%% end %>
55

66
<div class="flex justify-between items-center">
7-
<h1 class="text-lg font-bold text-4xl"><%= human_name.pluralize %></h1>
7+
<h1 class="font-bold text-4xl"><%= human_name.pluralize %></h1>
88
<%%= 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" %>
99
</div>
1010

lib/generators/tailwindcss/scaffold/templates/new.html.erb.tt

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

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

0 commit comments

Comments
 (0)