Skip to content

Commit eb5641d

Browse files
committed
fix: dev mode and header spacing
1 parent 2024ef4 commit eb5641d

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

app/views/layouts/application.html.erb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
<div class="row">
1717
<div class="col-12 col-lg-7 mx-auto">
1818
<header class="bg-body-tertiary rounded-3 border p-3 mt-3 mb-4 rounded-4">
19-
<nav class="mb-2">
19+
<nav>
2020
<ul class="nav m-0 p-0 d-flex align-items-center align-content-center justify-content-between">
2121
<li>
22-
<%= link_to root_path, class: 'icon-link text-decoration-none fw-bold flex-grow-2' do %>
23-
<%= icon 'cloud-fill' %> Flipper Playground
22+
<%= link_to root_path, class: 'icon-link text-decoration-none flex-grow-2' do %>
23+
<%= icon 'droplet' %> Flipper Playground
2424
<% end %>
2525
</li>
2626
<li><a href="<%= demo_start_path %>" class="nav-link py-0 px-2 m-0">Demo</a></li>
@@ -29,7 +29,7 @@
2929
</nav>
3030

3131
<% if content_for?(:breadcrumbs) %>
32-
<nav class="col-12 border-top pt-3 mt-0 pb-0 mb-0" aria-label="breadcrumb" style="--bs-breadcrumb-divider: url(&#34;data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='%236c757d'/%3E%3C/svg%3E&#34;);">
32+
<nav class="col-12 border-top pt-3 mt-2 pb-0 mb-0" aria-label="breadcrumb" style="--bs-breadcrumb-divider: url(&#34;data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='%236c757d'/%3E%3C/svg%3E&#34;);">
3333
<%= yield :breadcrumbs %>
3434
</nav>
3535
<% end %>

config/environments/development.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
# Enable server timing
1818
config.server_timing = true
1919

20-
# Don't digest assets in dev
21-
config.assets.digest = false
22-
2320
# Enable/disable caching. By default caching is disabled.
2421
# Run rails dev:cache to toggle caching.
2522
if Rails.root.join("tmp/caching-dev.txt").exist?

0 commit comments

Comments
 (0)