Browse Source

fix : fixed border radius from fields dropdown

pull/7181/head
musharaf-nocodb 1 year ago
parent
commit
6e1fea7691
  1. 2
      packages/nc-gui/components/smartsheet/column/EditOrAdd.vue
  2. 6
      packages/nc-gui/components/smartsheet/column/LookupOptions.vue
  3. 4
      packages/nc-gui/components/smartsheet/column/RollupOptions.vue

2
packages/nc-gui/components/smartsheet/column/EditOrAdd.vue

@ -271,7 +271,7 @@ if (props.fromTableExplorer) {
show-search
class="nc-column-type-input !rounded"
:disabled="isKanban || readOnly"
dropdown-class-name="nc-dropdown-column-type border-1 border-gray-200"
dropdown-class-name="nc-dropdown-column-type border-1 !rounded-md border-gray-200"
@change="onUidtOrIdTypeChange"
@dblclick="showDeprecated = !showDeprecated"
>

6
packages/nc-gui/components/smartsheet/column/LookupOptions.vue

@ -83,7 +83,7 @@ const cellIcon = (column: ColumnType) =>
<a-form-item class="flex w-1/2 pb-2" :label="$t('labels.links')" v-bind="validateInfos.fk_relation_column_id">
<a-select
v-model:value="vModel.fk_relation_column_id"
dropdown-class-name="!w-64 nc-dropdown-relation-table"
dropdown-class-name="!w-64 !rounded-md nc-dropdown-relation-table "
@change="onRelationColChange"
>
<a-select-option v-for="(table, i) of refTables" :key="i" :value="table.col.fk_column_id">
@ -114,12 +114,12 @@ const cellIcon = (column: ColumnType) =>
<a-select
v-model:value="vModel.fk_lookup_column_id"
name="fk_lookup_column_id"
dropdown-class-name="nc-dropdown-relation-column"
dropdown-class-name="nc-dropdown-relation-column !rounded-md"
@change="onDataTypeChange"
>
<a-select-option v-for="(column, index) of columns" :key="index" :value="column.id">
<div class="flex gap-2 truncate items-center">
<div class="flex items-center flex-1 truncate font-semibold">
<div class="inline-flex items-center flex-1 truncate font-semibold">
<component :is="cellIcon(column)" :column-meta="column" />
<div class="truncate flex-1">{{ column.title }}</div>
</div>

4
packages/nc-gui/components/smartsheet/column/RollupOptions.vue

@ -141,7 +141,7 @@ watch(
<a-form-item class="flex w-1/2 pb-2" :label="$t('labels.links')" v-bind="validateInfos.fk_relation_column_id">
<a-select
v-model:value="vModel.fk_relation_column_id"
dropdown-class-name="!w-64 nc-dropdown-relation-table"
dropdown-class-name="!w-64 nc-dropdown-relation-table !rounded-md"
@change="onRelationColChange"
>
<a-select-option v-for="(table, i) of refTables" :key="i" :value="table.col.fk_column_id">
@ -172,7 +172,7 @@ watch(
<a-select
v-model:value="vModel.fk_rollup_column_id"
name="fk_rollup_column_id"
dropdown-class-name="nc-dropdown-relation-column"
dropdown-class-name="nc-dropdown-relation-column !rounded-xl"
@change="onDataTypeChange"
>
<a-select-option v-for="(column, index) of columns" :key="index" :value="column.id">

Loading…
Cancel
Save