Browse Source

fix(nc-gui): revise item chip style

pull/5724/head
Wing-Kam Wong 2 years ago
parent
commit
4d40c5e2ad
  1. 6
      packages/nc-gui/components/virtual-cell/components/ItemChip.vue

6
packages/nc-gui/components/virtual-cell/components/ItemChip.vue

@ -60,8 +60,8 @@ export default {
<template> <template>
<div <div
class="chip group py-1 px-2 mr-1 my-1 flex items-center border-1 rounded-[2px] flex-row" class="chip group mr-1 my-1 flex items-center rounded-[2px] flex-row"
:class="{ active }" :class="{ active, 'border-1 py-1 px-2': isAttachment(column) }"
@click="openExpandedForm" @click="openExpandedForm"
> >
<span class="name"> <span class="name">
@ -83,7 +83,7 @@ export default {
<div <div
class="min-w-max" class="min-w-max"
:class="{ :class="{
'bg-gray-100 px-1 rounded-full flex-1': !isAttachment(column), 'px-1 rounded-full flex-1': !isAttachment(column),
'border-gray-200 rounded border-1': ![UITypes.Attachment, UITypes.MultiSelect, UITypes.SingleSelect].includes( 'border-gray-200 rounded border-1': ![UITypes.Attachment, UITypes.MultiSelect, UITypes.SingleSelect].includes(
column.uidt, column.uidt,
), ),

Loading…
Cancel
Save