@eturnity/eturnity_reusable_components 7.45.5-EPDM-10609.2 → 7.45.5-EPDM-10609.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -31,6 +31,7 @@
|
|
31
31
|
</TextOverlay>
|
32
32
|
</template>
|
33
33
|
<Teleport v-else to="#portal-target">
|
34
|
+
{{ $c.log({ position }) }}
|
34
35
|
<TextOverlay
|
35
36
|
v-if="showInfo"
|
36
37
|
:align-arrow="alignArrow"
|
@@ -260,15 +261,13 @@
|
|
260
261
|
const textOverlayTop =
|
261
262
|
iconImgTop - iconImgHeight / 2 + TEXT_OVERLAY_TOP_OFFSET
|
262
263
|
|
263
|
-
console.log(textOverlayTop)
|
264
|
-
|
265
264
|
return `${textOverlayTop}px`
|
266
265
|
},
|
267
266
|
getTextOverlayLeft() {
|
268
267
|
const iconImg = this.$refs.iconImg.$el
|
269
268
|
const iconImgLeft = iconImg.getBoundingClientRect().left
|
270
269
|
const iconImgWidth = iconImg.clientWidth
|
271
|
-
const textOverlayLeft = iconImgLeft + iconImgWidth / 2 -
|
270
|
+
const textOverlayLeft = iconImgLeft + iconImgWidth / 2 - 80
|
272
271
|
|
273
272
|
if (this.alignArrow === 'center') {
|
274
273
|
return `${textOverlayLeft}px`
|