bg-transparent for embed

This commit is contained in:
HolgerHatGarKeineNode
2023-03-16 17:42:51 +01:00
parent 47e5d9ea58
commit caf599f8c7
3 changed files with 30 additions and 30 deletions

View File

@@ -143,19 +143,19 @@
<div
x-data="{
observe () {
let observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
@this.call('loadMore')
}
})
}, {
root: null
observe () {
let observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
@this.call('loadMore')
}
})
observer.observe(this.$el)
}
}"
}, {
root: null
})
observer.observe(this.$el)
}
}"
x-init="observe"
></div>

View File

@@ -1,4 +1,4 @@
<div class="h-full {{ $darkMode ? 'bg-21gray' : 'bg-white' }}">
<div class="h-full {{ $darkMode ? 'bg-21gray' : 'bg-transparent' }}">
@php
$focus = '';
$map = $country->code . '_merc';

View File

@@ -173,23 +173,23 @@
@endif
@endforeach
<div
x-data="{
observe () {
let observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
@this.call('loadMore')
}
})
}, {
root: null
})
observer.observe(this.$el)
}
}"
x-init="observe"
></div>
<div
x-data="{
observe () {
let observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
@this.call('loadMore')
}
})
}, {
root: null
})
observer.observe(this.$el)
}
}"
x-init="observe"
></div>
</div>
</div>