diff options
author | Griffin Smith <grfn@gws.fyi> | 2021-12-26T19·46-0500 |
---|---|---|
committer | grfn <grfn@gws.fyi> | 2021-12-27T03·42+0000 |
commit | d0e9dc8d7035e761a6deefa132811d047c67e612 (patch) | |
tree | 98c8925bf7f13bdcde801cb37b5390323bb04886 /users | |
parent | 4a84b4af26a75c42b808b0749244651608b1285b (diff) |
fix(grfn/bbbg): Fix attendee list styling on non-mobile r/3451
Change-Id: I0b9671dd7e43cf25e8313a10e31b1f19cf897371 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4682 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
Diffstat (limited to 'users')
-rw-r--r-- | users/grfn/bbbg/src/bbbg/handlers/events.clj | 3 | ||||
-rw-r--r-- | users/grfn/bbbg/src/bbbg/styles.clj | 12 |
2 files changed, 12 insertions, 3 deletions
diff --git a/users/grfn/bbbg/src/bbbg/handlers/events.clj b/users/grfn/bbbg/src/bbbg/handlers/events.clj index a5c9bdd5d65a..2264d36e7d67 100644 --- a/users/grfn/bbbg/src/bbbg/handlers/events.clj +++ b/users/grfn/bbbg/src/bbbg/handlers/events.clj @@ -102,8 +102,7 @@ [:th "Meetup Name"] [:th "Discord Name"] [:th "Signed In"] - [:th "Last Vaccination Check"] - [:th "Notes"]] + [:th "Last Vaccination Check"]] [:tbody (for [attendee attendees] [:tr diff --git a/users/grfn/bbbg/src/bbbg/styles.clj b/users/grfn/bbbg/src/bbbg/styles.clj index ca9148efdf92..0ea0d4472e72 100644 --- a/users/grfn/bbbg/src/bbbg/styles.clj +++ b/users/grfn/bbbg/src/bbbg/styles.clj @@ -52,6 +52,12 @@ :max-width mobile-width} [:& rules])) +(defn not-mobile [& rules] + (at-media + {:screen true + :min-width mobile-width} + [:& rules])) + ;;; @@ -321,7 +327,11 @@ [:.attendee-name {:font-weight "bold" - :margin-bottom "0.9rem"}])]) + :margin-bottom "0.9rem"}]) + + (not-mobile + [:.mobile-label + {:display :none}])]) (defstyles events [:.events-list |