vue-color-kit
vue-color-kit copied to clipboard
Incorrect width by default

No changes, simply use the component. It seems to be including the padding as part of the inner content width, and therefor it doesn't look proper?
The width prop is not working either, even tho a PR exists to add it, it's not actually present. So maybe it doesn't exist anymore?
It's caused by the lack of a box-sizing: content-box; so it's inheriting whatever the parent is using.
Thanks for pointing this out! I hope this will be added by default to the component...
Suffer same issue now, it's should be fixed by change the following part totalWidth(): number { return this.hueHeight + (this.hueWidth + 8) * 2 },
it makes no sense, if above part is overflow the box, but below part is ok
Same problem here, in Safari...