Make topbar sticky and set sticky cta header so it sticks below topbar
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{% macro StickyCTA(text) -%}
|
||||
<div class="sticky-cta" v-sticky="{ stickyTop: 2 }">
|
||||
<div class="sticky-cta" v-sticky='{ "stickyBitStickyOffset": 48 }'>
|
||||
<div class="sticky-cta-container">
|
||||
<div class="sticky-cta-text">
|
||||
<h3>{{ text }}</h3>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% from "components/icon.html" import Icon %}
|
||||
|
||||
<header class="topbar">
|
||||
<header class="topbar" v-sticky>
|
||||
<nav class="topbar__navigation">
|
||||
<a href="{{ url_for('atst.home') }}" class="topbar__link topbar__link--home">
|
||||
{{ Icon('shield', classes='topbar__link-icon') }}
|
||||
|
||||
Reference in New Issue
Block a user