diff --git a/demo/color-picker-basic-demos.js b/demo/color-picker-basic-demos.js index 8918e32..4782c42 100644 --- a/demo/color-picker-basic-demos.js +++ b/demo/color-picker-basic-demos.js @@ -63,10 +63,8 @@ class ColorPickerBasicDemos extends window.DemoReadyEventEmitter(ColorPickerDemo

- `; } diff --git a/src/components/color-picker-responsive-canvas.js b/src/components/color-picker-responsive-canvas.js index 412f0ee..197ce09 100644 --- a/src/components/color-picker-responsive-canvas.js +++ b/src/components/color-picker-responsive-canvas.js @@ -17,7 +17,7 @@ import {IronResizableBehavior} from '@polymer/iron-resizable-behavior'; class ResponsiveCanvasElement extends ElementMixin(ThemableMixin(Vaadin.DisabledPropertyMixin(mixinBehaviors([IronResizableBehavior], PolymerElement)))) { static get template() { - return html` + + +`; + +document.head.appendChild($_documentContainer2.content); diff --git a/theme/material/slider/color-picker-color-slider-styles.js b/theme/material/slider/color-picker-color-slider-styles.js index 3fc4b5d..3240702 100644 --- a/theme/material/slider/color-picker-color-slider-styles.js +++ b/theme/material/slider/color-picker-color-slider-styles.js @@ -8,7 +8,7 @@ const $_documentContainer = html` --color-slider-size: calc(36px / 2); --color-slider-handle-size: var(--color-slider-size); - height: var(--color-slider-size); + height: var(--color-slider-size); margin: calc(4px / 2) 0; }