mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-01 12:44:43 +00:00
don't load images on mobile where they don't show
This commit is contained in:
parent
adc574838e
commit
94a7800619
@ -4,7 +4,7 @@
|
||||
<auth-navbar class="index10" />
|
||||
|
||||
<div class="left-content-box position-fixed d-none d-lg-block">
|
||||
<div class="bg-img-box position-absolute w-100">
|
||||
<div v-if="isDesktop" class="bg-img-box position-absolute w-100">
|
||||
<auth-carousel class="carousel" />
|
||||
</div>
|
||||
<div class="bg-txt-box position-relative d-none d-lg-block text-center align-self-center">
|
||||
@ -134,6 +134,7 @@ onBeforeMount(() => {
|
||||
// clear state
|
||||
store.commit('project', null)
|
||||
})
|
||||
const isDesktop = computed(() => window.innerWidth > 768)
|
||||
|
||||
// put project value into store, if projectBrandingBanner query don't throw an error, so project exists
|
||||
watchEffect(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user