Skip to content

Commit

Permalink
Remove the grid layout
Browse files Browse the repository at this point in the history
Arguably, the grid is not a good fit. We're working with a single stream UX as opposed to several sessions happening at once, and it just makes way more sense that all the data is presented in a single column.

It makes the presentation slightly worse on wide screens, but also makes it significantly less confusing in re. overlapping times.

Signed-off-by: Vladimir Pouzanov <[email protected]>
  • Loading branch information
farcaller authored Sep 17, 2024
1 parent 35b9cc3 commit 984b68c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/co/gaiwan/compass/html/sessions.clj
Original file line number Diff line number Diff line change
Expand Up @@ -321,10 +321,7 @@
(o/defstyled session-list :section#sessions
[:.sessions
:grid :gap-3
{:grid-template-columns "repeat(1, 1fr)"}
[:at-media {:min-width "40rem"} {:grid-template-columns "repeat(1, 1fr)"}]
[:at-media {:min-width "60rem"} {:grid-template-columns "repeat(2, 1fr)"}]
#_[:at-media {:min-width "80rem"} {:grid-template-columns "repeat(3, 1fr)"}]]
{:grid-template-columns "repeat(1, 1fr)"}]
[:>h2 :mb-4 :mt-7
{:font-size t/--font-size-3}
["&:first-child" :mt-0]
Expand Down

0 comments on commit 984b68c

Please sign in to comment.