@thinkpixellab-public/px-vue 3.0.72 → 3.0.74
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/components/PxArrow.vue +0 -1
- package/components/PxArrowScroller.vue +0 -4
- package/components/PxMeasureContainer.vue +0 -1
- package/components/PxSticky.vue +0 -1
- package/components/PxSvg.vue +1 -1
- package/components/PxTransitionItem.vue +1 -1
- package/dev/demos/Demo-PxContain.vue +0 -1
- package/dev/demos/DemoPicker.vue +0 -2
- package/package.json +1 -1
package/components/PxArrow.vue
CHANGED
|
@@ -117,11 +117,7 @@ export default {
|
|
|
117
117
|
|
|
118
118
|
scrollToElement(el) {
|
|
119
119
|
if (this.$refs.scroller) {
|
|
120
|
-
console.log(`el.offsetLeft: ${el.offsetLeft}`);
|
|
121
|
-
|
|
122
|
-
//const left = el.offsetLeft - this.$refs.scroller.offsetWidth;
|
|
123
120
|
const left = el.offsetLeft - this.$refs.scroller.offsetWidth / 2;
|
|
124
|
-
|
|
125
121
|
this.$refs.scroller.scrollTo({
|
|
126
122
|
left: left,
|
|
127
123
|
behavior: 'smooth',
|
package/components/PxSticky.vue
CHANGED
package/components/PxSvg.vue
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
provided by vue-inline-svg, this component will ensure a consistent approach to sizing and
|
|
4
4
|
perform basic string replacements.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
import PxSvg from '@thinkpixellab-public/px-vue/components/PxSvg.vue';
|
|
7
7
|
|
|
8
8
|
// show the icon at it's natural size
|
|
9
9
|
<px-svg src="require('~assets/icons/arrow.svg')" />
|
package/dev/demos/DemoPicker.vue
CHANGED