Browse Source

fix(nc-gui): reduce gap between prefill mode radio inputs

pull/7786/head
Ramesh Mane 9 months ago
parent
commit
cbe0ced136
  1. 16
      packages/nc-gui/components/dlg/share-and-collaborate/SharePage.vue

16
packages/nc-gui/components/dlg/share-and-collaborate/SharePage.vue

@ -427,7 +427,7 @@ watchEffect(() => {})
<a-radio-group <a-radio-group
v-if="formPreFill.preFillEnabled" v-if="formPreFill.preFillEnabled"
:value="formPreFill.preFilledMode" :value="formPreFill.preFilledMode"
class="nc-field-layout-list" class="nc-modal-share-view-preFillMode"
data-testid="nc-modal-share-view__preFillMode" data-testid="nc-modal-share-view__preFillMode"
@update:value=" @update:value="
(value) => { (value) => {
@ -466,4 +466,18 @@ watchEffect(() => {})
line-height: 1rem !important; line-height: 1rem !important;
} }
} }
.nc-modal-share-view-preFillMode {
@apply flex flex-col;
.ant-radio-wrapper {
@apply !m-0 !flex !items-center w-full px-2 py-1 rounded-lg hover:bg-gray-100;
.ant-radio {
@apply !top-0;
}
.ant-radio + span {
@apply !flex !pl-4;
}
}
}
</style> </style>

Loading…
Cancel
Save