diff options
Diffstat (limited to 'server/src/Design/Views.hs')
-rw-r--r-- | server/src/Design/Views.hs | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/server/src/Design/Views.hs b/server/src/Design/Views.hs index d36a728..270bb8e 100644 --- a/server/src/Design/Views.hs +++ b/server/src/Design/Views.hs @@ -32,15 +32,19 @@ design = do "margin" -: "0 2vw" ".titleButton" ? do - h1 ? do - Media.tabletDesktop $ float floatLeft + display flex + marginBottom (em 1) + + Media.tabletDesktop $ do + justifyContent spaceBetween + alignItems center + + Media.mobile $ do + flexDirection column + "h1" ? marginBottom (em 0.5) button ? do Helper.button Color.chestnutRose Color.white (px Constants.inputHeight) Constants.focusLighten - Media.tabletDesktop $ do - float floatRight - position relative - top (px (-8)) Media.mobile $ do width (pct 100) marginBottom (px 20) |