Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

padding on the horizontal slider's element is affecting the draw size of its canvas #70

Open
2bndy5 opened this issue Oct 9, 2019 · 0 comments
Labels
beginner This opportunity is meant for beginners wontfix This will not be worked on

Comments

@2bndy5
Copy link
Member

2bndy5 commented Oct 9, 2019

image

the padding on the horizontal slider's element is affecting the draw size of its canvas. Not a huge issue because all it means is that the horizontal slider's stick is clipped when in the -100 position. I left some console.log() in both controller.js adjustSliderSizes() and slider.js resize() to provide some kind of traceback. Upon initial load of page the slider's canvas size is correct, but after the first adjustment via adjustSliderSizes(), the canvas's height is larger than it should be (by a value equal to the padding created by the canvas element's parent column. Using Bulma's is-paddingless just makes it worse.

@2bndy5 2bndy5 added beginner This opportunity is meant for beginners wontfix This will not be worked on labels Oct 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
beginner This opportunity is meant for beginners wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant