Use position: sticky for navbar.

This commit is contained in:
Dillon Kearns 2021-07-28 15:40:22 -07:00
parent 0dfdf9f7ed
commit 74d8aa5fc2
4 changed files with 5 additions and 5 deletions

View File

@ -64,11 +64,11 @@ view maybeUrl sharedModel staticPayload =
[ Tw.relative
, Tw.bg_gray_100
, Tw.min_h_screen
, Tw.pt_32
, Tw.pt_16
, Tw.pb_20
, Tw.px_4
, Bp.lg
[ Tw.pt_24
[ Tw.pt_16
, Tw.pb_28
, Tw.px_8
]

View File

@ -78,7 +78,7 @@ view maybeUrl sharedModel static =
]
[ div
[ css
[ Tw.pt_32
[ Tw.pt_16
, Tw.pb_16
, Tw.px_8
, Tw.flex

View File

@ -110,7 +110,7 @@ landingView =
div
[ css
[ Tw.relative
, Tw.pt_32
, Tw.pt_16
, Tw.pb_32
, Tw.overflow_hidden
]

View File

@ -19,7 +19,7 @@ view toggleMobileMenuMsg stars currentPath =
, Tw.items_center
, Tw.bg_white
, Tw.z_20
, Tw.fixed
, Tw.sticky
, Tw.top_0
, Tw.left_0
, Tw.right_0