Skip to content

Commit

Permalink
Improve rvt-sidebar resizing
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufsallam64 committed Oct 15, 2023
1 parent 54a3b1f commit 1123ff3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/elements/layouts/sidebar-layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export default class Layout extends LitElement {

render() {
return html`
<div style="w-full">
<div>
<!-- Sidebar -->
<div class="fixed flex w-72 flex-col border-white/10 border-r top-14 bottom-0">
<div class="overflow-y-auto px-6 py-5 w-full h-full">
<div class="fixed flex w-72 flex-col border-white/10 border-r top-14 max-[850px]:top-0 bottom-0">
<div class="min-h-full overflow-y-auto px-6 py-5 w-full h-full">
<slot name="sidebar"></slot>
</div>
</div>
Expand Down

0 comments on commit 1123ff3

Please sign in to comment.