Skip to content

Commit

Permalink
fix: close sidebar by default in mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioRodrigues10 committed Aug 22, 2024
1 parent f9eb0e2 commit 694b6e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/atomic_web/components/sidebar.ex
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ defmodule AtomicWeb.Components.Sidebar do
assigns = assign(assigns, :organizations, Organizations.list_user_organizations(user.id))

~H"""
<div class="relative z-50 lg:hidden" role="dialog" aria-modal="true" id="sidebar">
<div class="relative z-50 hidden" role="dialog" aria-modal="true" id="sidebar">
<div class="bg-zinc-900/80 fixed inset-0"></div>
<div class="fixed inset-0 flex" id="sidebar-content">
<div class="relative mr-16 flex w-full max-w-xs flex-1">
Expand Down

0 comments on commit 694b6e5

Please sign in to comment.