Skip to content

Commit

Permalink
fix: consider browser dynamic toolbar state for sidebar height (#3362)
Browse files Browse the repository at this point in the history
  • Loading branch information
sigra authored Oct 27, 2024
1 parent c70de9b commit 5ce01ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/avo/sidebar_component.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div
class="avo-sidebar fixed z-[60] t-0 application-sidebar w-64 flex-1 border-r lg:border-none bg-none h-[calc(100vh-4rem)] bg-application lg:bg-transparent <%= 'print:hidden' if Avo.configuration.hide_layout_when_printing %> <%= 'hidden' unless @sidebar_open %>"
class="avo-sidebar fixed z-[60] t-0 application-sidebar w-64 flex-1 border-r lg:border-none bg-none h-[calc(100dvh-4rem)] bg-application lg:bg-transparent <%= 'print:hidden' if Avo.configuration.hide_layout_when_printing %> <%= 'hidden' unless @sidebar_open %>"
data-sidebar-target="<%= stimulus_target %>"
>
<div class="flex flex-col w-full h-full">
Expand Down

0 comments on commit 5ce01ac

Please sign in to comment.