Skip to content

Commit 1b7d337

Browse files
committed
style: enhance sidebar layout and adjust grid properties for better responsiveness in dashboard
1 parent 5142d09 commit 1b7d337

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/algora_web/live/org/dashboard_live.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
12901290

12911291
defp sidebar(assigns) do
12921292
~H"""
1293-
<aside class="scrollbar-thin fixed top-16 right-0 bottom-0 hidden w-96 h-full overflow-y-auto border-l border-border bg-background p-4 pt-6 sm:p-6 md:p-8 lg:block">
1293+
<aside class="scrollbar-thin fixed top-16 right-0 bottom-0 hidden w-96 h-full overflow-y-auto border-l border-border bg-background p-4 pt-6 sm:p-6 md:p-8 lg:flex lg:flex-col">
12941294
<div class="flex items-center justify-between">
12951295
<h2 class="text-xl font-semibold leading-none tracking-tight">Getting started</h2>
12961296
</div>
@@ -1345,7 +1345,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
13451345
class="mt-3 w-full aspect-[1200/630] rounded-lg ring-1 ring-input bg-black"
13461346
/>
13471347
<% end %>
1348-
<div class="fixed right-0 bottom-0 hidden w-96 p-4 pr-0 pt-6 sm:p-6 sm:pr-0 md:py-8 md:pr-0 lg:grid lg:grid-cols-2 gap-2 gap-x-4 text-sm">
1348+
<div class="pt-12 pb-16 mt-auto -mr-12 grid lg:grid-cols-2 gap-y-4 gap-x-6 text-sm">
13491349
<div class="flex items-center gap-2">
13501350
<div class="flex -space-x-2">
13511351
<img

0 commit comments

Comments
 (0)