diff options
Diffstat (limited to 'users/grfn')
-rw-r--r-- | users/grfn/bbbg/src/bbbg/handlers/events.clj | 2 | ||||
-rw-r--r-- | users/grfn/bbbg/src/bbbg/styles.clj | 11 |
2 files changed, 11 insertions, 2 deletions
diff --git a/users/grfn/bbbg/src/bbbg/handlers/events.clj b/users/grfn/bbbg/src/bbbg/handlers/events.clj index ff34d7f9e604..30bbf414a456 100644 --- a/users/grfn/bbbg/src/bbbg/handlers/events.clj +++ b/users/grfn/bbbg/src/bbbg/handlers/events.clj @@ -100,6 +100,8 @@ ([] (event-form {})) ([event] [:div.page + [:div.page-header + [:h1 "Create New Event"]] [:form {:method "POST" :action "/events" :enctype "multipart/form-data"} diff --git a/users/grfn/bbbg/src/bbbg/styles.clj b/users/grfn/bbbg/src/bbbg/styles.clj index 50d554c02a70..50c9115a6d65 100644 --- a/users/grfn/bbbg/src/bbbg/styles.clj +++ b/users/grfn/bbbg/src/bbbg/styles.clj @@ -210,8 +210,15 @@ (defstyles flash [:.flash-messages - {:width "800px" - :margin "1rem auto"}] + {:max-width "800px" + :margin "1rem auto"} + + (at-media + {:screen true + :max-width "800px"} + [:& + {:margin-left "1rem" + :margin-right "1rem"}])] [:.flash-message {:padding "1rem 1.5rem" |