app/views/layouts/application.html.erb in shadcn-ui-0.0.1 vs app/views/layouts/application.html.erb in shadcn-ui-0.0.2
- old
+ new
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html>
<head>
- <title>ShadcnRails</title>
+ <title><%= page_title %></title>
<meta
name="viewport"
content="width=device-width,initial-scale=1">
<!--prettier-ignore-->
<%= csrf_meta_tags %>
@@ -19,12 +19,11 @@
<div class="relative flex min-h-screen flex-col">
<%= render 'layouts/shared/header' %>
<div class="flex-1">
<div class="border-b">
<div
- class="container flex-1 items-start md:grid md:grid-cols-[220px_minmax(0,1fr)] md:gap-6 lg:grid-cols-[240px_minmax(0,1fr)] lg:gap-10">
+ class="container flex-1 items-start ">
<!--prettier-ignore-->
- <%= render 'layouts/sidebar' %>
<%= yield %>
</div>
</div>
</div>
</div>