Skip to content

Commit

Permalink
Fix color picker not displayed correctly (#2136)
Browse files Browse the repository at this point in the history
Fixes #2134.
Regression from #1989.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
  • Loading branch information
florian-h05 authored Oct 29, 2023
1 parent c2d071a commit c9de04e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<template>
<div :style="config.style">
<div :style="{
width: '100%',
...config.style
}">
<div v-if="!config.openIn" ref="container" style="width: 100%" />
<div v-else ref="swatch" :class="config.swatchClasses || ['elevation-4', 'elevation-hover-8', 'elevation-pressed-1', 'elevation-transition']" :style="{
width: (config.swatchSize) ? config.swatchSize + 'px' : '32px',
Expand Down

0 comments on commit c9de04e

Please sign in to comment.