feat: use position sticky for demo bar
This commit is contained in:
committed by
konrad
parent
216177d873
commit
49fa32aad6
@@ -28,10 +28,9 @@ const enabled = computed(() => configStore.demoModeEnabled && !hide.value)
|
|||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.demo-mode-banner {
|
.demo-mode-banner {
|
||||||
position: fixed;
|
position: sticky;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
inset-inline: 0;
|
||||||
right: 0;
|
|
||||||
background: var(--danger);
|
background: var(--danger);
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
padding: .5rem;
|
padding: .5rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user