Skip to content

Commit

Permalink
fix: Set SketchComponent width as pixels (#353) (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbcraft authored Sep 6, 2022
1 parent 5ba2360 commit 12e4165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/sketch/sketch.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { NG_VALUE_ACCESSOR } from '@angular/forms';
@Component({
selector: 'color-sketch',
template: `
<div class="sketch-picker {{ className }}" [style.width]="width">
<div class="sketch-picker {{ className }}" [style.width.px]="width">
<div class="sketch-saturation">
<color-saturation [hsl]="hsl" [hsv]="hsv"
(onChange)="handleValueChange($event)"
Expand Down

0 comments on commit 12e4165

Please sign in to comment.