Skip to content

Commit

Permalink
Applying container to all redoc routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Un3x committed Dec 5, 2024
1 parent 0ac8418 commit 0ceb4cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% container_class = action_name == 'redoc' ? 'fr-container-fluid' : 'fr-container' %>
<% container_class = action_name.include?('redoc') ? 'fr-container-fluid' : 'fr-container' %>

<div class="<%= container_class %> fr-mb-5w fr-mt-5w">
<turbo-frame id="alerts">
Expand Down
6 changes: 3 additions & 3 deletions db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0ceb4cb

Please sign in to comment.