diff options
Diffstat (limited to 'css/styles.css')
-rw-r--r-- | css/styles.css | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/css/styles.css b/css/styles.css index 8ad12a0..a06c906 100644 --- a/css/styles.css +++ b/css/styles.css @@ -28,8 +28,12 @@ body { } nav { - background: var(--color-primary); - border-bottom: 10px solid var(--color-accent); + background: var(--color-primary); + border-bottom: 10px solid var(--color-accent); + position: sticky; + left: 0; + top: 0; + z-index: 69; /* choose a number, any number */ } .hidden { @@ -147,4 +151,14 @@ a.collection-item { .input-field textarea:not([readonly]):focus { border-bottom: 1px solid var(--color-primary) !important; box-shadow: 0 1px 0 0 var(--color-primary) !important; -}
\ No newline at end of file +} + +.chat-sticky-input { + position: fixed; + left: 0; + bottom: 0; + width: 100%; + background-color: white; + text-align: center; + z-index: 60; +} |