Commit cec3208c authored by David Mendez's avatar David Mendez
Browse files

Merge branch 'staging' into 'master'

Implement workaround for mixed styles among layouts

See merge request !19
parents 29eb16e5 9d60a72c
<template>
<v-app>
<style>
:root {
--scroll-type: {{ scrollType }};
}
</style>
<Notifications />
<nuxt />
</v-app>
......@@ -15,6 +20,11 @@ export default {
components: {
Notifications,
},
data() {
return {
scrollType: 'hidden',
}
},
mounted() {
this.$store.dispatch('embedding/setIsEmbedded')
},
......@@ -23,6 +33,6 @@ export default {
<style>
html {
overflow: hidden;
overflow-y: var(--scroll-type);
}
</style>
<template>
<v-app>
<style>
:root {
--scroll-type: {{ scrollType }};
}
</style>
<Notifications />
<nuxt />
</v-app>
......@@ -15,6 +20,11 @@ export default {
components: {
Notifications,
},
data() {
return {
scrollType: 'scroll',
}
},
mounted() {
this.$store.dispatch('embedding/setIsEmbedded')
},
......@@ -23,6 +33,6 @@ export default {
<style>
html {
overflow-y: scroll;
overflow-y: var(--scroll-type);
}
</style>
<template>
<div>
<SearchByIDsMenu />
</div>
<SearchByIDsMenu />
</template>
<script>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment