Skip to content
This repository was archived by the owner on Jul 14, 2021. It is now read-only.
This repository was 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

@2bndy5

Description

@2bndy5

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    beginnerThis opportunity is meant for beginnerswontfixThis will not be worked on

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions