mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-29 14:56:36 +03:00
Use position: sticky for navbar.
This commit is contained in:
parent
0dfdf9f7ed
commit
74d8aa5fc2
@ -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
|
||||
]
|
||||
|
@ -78,7 +78,7 @@ view maybeUrl sharedModel static =
|
||||
]
|
||||
[ div
|
||||
[ css
|
||||
[ Tw.pt_32
|
||||
[ Tw.pt_16
|
||||
, Tw.pb_16
|
||||
, Tw.px_8
|
||||
, Tw.flex
|
||||
|
@ -110,7 +110,7 @@ landingView =
|
||||
div
|
||||
[ css
|
||||
[ Tw.relative
|
||||
, Tw.pt_32
|
||||
, Tw.pt_16
|
||||
, Tw.pb_32
|
||||
, Tw.overflow_hidden
|
||||
]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user