Skip to content

Commit

Permalink
Merge pull request #3410 from nextcloud/fix/color-picker-width
Browse files Browse the repository at this point in the history
Expand color picker width only when using advanced fields
  • Loading branch information
Pytal authored Nov 1, 2022
2 parents f50481e + 0388b43 commit a9d7419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NcColorPicker/NcColorPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default {
<slot />
</template>
<div class="color-picker"
:class="{ 'color-picker--advanced-fields': advancedFields }">
:class="{ 'color-picker--advanced-fields': advanced && advancedFields }">
<transition name="slide" mode="out-in">
<div v-if="!advanced" class="color-picker__simple">
<button v-for="(color, index) in palette"
Expand Down

0 comments on commit a9d7419

Please sign in to comment.