Fix scrolling + hovering effect on feed posts
All checks were successful
Deploy Spot / deploy (push) Successful in 40s

This commit is contained in:
2026-05-20 09:42:03 +02:00
parent 0bb7ae2361
commit f63f5c240e
4 changed files with 10 additions and 27 deletions

View File

@@ -55,6 +55,9 @@
drillMainIcon() {
return this.mouseOverDrill?'drill-message':'marker';
},
drillSubIcon() {
return this.mouseOverDrill?null:'footprint';
},
anchorLink() {
return '#'+[this.hash.page, this.project.currProject.codename, this.options.type, this.options.id].join(this.consts.hash_sep);
},
@@ -186,12 +189,12 @@
</div>
<div class="body">
<div v-if="options.type == 'message'" class="body-box">
<div class="drill" @click.prevent="panMapToMarker" @mouseenter="onMouseEnter" @mouseleave="onMouseLeave">
<div class="drill" @click.prevent="panMapToMarker" @pointerenter="onMouseEnter" @pointerleave="onMouseLeave">
<span v-if="options.weather_icon && options.weather_icon!='unknown'" class="weather clickable" :title="lang.get('weather.'+options.weather_icon)">
<spotIcon :icon="options.weather_icon" :text="Math.round(options.weather_temp)+'°C'" text-classes="temperature" />
</span>
<img class="staticmap clickable" :title="lang.get('media.click_zoom')" :src="options.static_img_url" />
<spotIconStack :mainClasses="'message drill-icon'" :iconMain="drillMainIcon" iconSub="footprint" :icon-sub-transform="'rotate-270'" />
<spotIconStack mainClasses="message drill-icon" :iconMain="drillMainIcon" :iconSub="drillSubIcon" icon-sub-transform="rotate-270" />
<div class="comment" @click.stop>
<p v-if="!isMobile()">
<spotIcon :icon="'coords'" margin="right" size="lg" />