Skip to content

Commit

Permalink
Fix top nav styles
Browse files Browse the repository at this point in the history
  • Loading branch information
justalever committed May 3, 2023
1 parent ce999eb commit fdd2caf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/railsui/shared/_top_nav.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<nav role="primary nav" class="text-sm sm:w-auto w-full sm:bg-none bg-white z-50 absolute left-0 top-[58px] sm:static sm:shadow-none shadow-lg">
<nav role="primary nav" class="text-sm sm:w-auto w-full sm:bg-transparent bg-white z-40 absolute left-0 top-[58px] sm:static sm:shadow-none shadow-lg">
<ul class="sm:flex items-center sm:space-x-3 space-x-0">
<li>
<%= nav_link_to "https://railsui.com/docs", class: "sm:p-2 font-semibold hover:text-indigo-600 flex items-center justify-center hover:dark:text-indigo-400 py-4 sm:text-sm text-base #{params[:controller].include?("docs") ? "text-indigo-600 dark:text-indigo-300" : "text-slate-800 dark:text-slate-300" }", active_class: "text-indigo-600", target: :_blank do %>
Expand Down

0 comments on commit fdd2caf

Please sign in to comment.