mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
bg-transparent for embed
This commit is contained in:
@@ -143,19 +143,19 @@
|
|||||||
|
|
||||||
<div
|
<div
|
||||||
x-data="{
|
x-data="{
|
||||||
observe () {
|
observe () {
|
||||||
let observer = new IntersectionObserver((entries) => {
|
let observer = new IntersectionObserver((entries) => {
|
||||||
entries.forEach(entry => {
|
entries.forEach(entry => {
|
||||||
if (entry.isIntersecting) {
|
if (entry.isIntersecting) {
|
||||||
@this.call('loadMore')
|
@this.call('loadMore')
|
||||||
}
|
}
|
||||||
})
|
|
||||||
}, {
|
|
||||||
root: null
|
|
||||||
})
|
})
|
||||||
observer.observe(this.$el)
|
}, {
|
||||||
}
|
root: null
|
||||||
}"
|
})
|
||||||
|
observer.observe(this.$el)
|
||||||
|
}
|
||||||
|
}"
|
||||||
x-init="observe"
|
x-init="observe"
|
||||||
></div>
|
></div>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<div class="h-full {{ $darkMode ? 'bg-21gray' : 'bg-white' }}">
|
<div class="h-full {{ $darkMode ? 'bg-21gray' : 'bg-transparent' }}">
|
||||||
@php
|
@php
|
||||||
$focus = '';
|
$focus = '';
|
||||||
$map = $country->code . '_merc';
|
$map = $country->code . '_merc';
|
||||||
|
|||||||
@@ -173,23 +173,23 @@
|
|||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
||||||
<div
|
<div
|
||||||
x-data="{
|
x-data="{
|
||||||
observe () {
|
observe () {
|
||||||
let observer = new IntersectionObserver((entries) => {
|
let observer = new IntersectionObserver((entries) => {
|
||||||
entries.forEach(entry => {
|
entries.forEach(entry => {
|
||||||
if (entry.isIntersecting) {
|
if (entry.isIntersecting) {
|
||||||
@this.call('loadMore')
|
@this.call('loadMore')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}, {
|
}, {
|
||||||
root: null
|
root: null
|
||||||
})
|
})
|
||||||
observer.observe(this.$el)
|
observer.observe(this.$el)
|
||||||
}
|
}
|
||||||
}"
|
}"
|
||||||
x-init="observe"
|
x-init="observe"
|
||||||
></div>
|
></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user