mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 17:57:05 +00:00
Nc fix/UI changes (#10079)
* fix(nc-gui): remove button shadow from fields menu calendar view text options * fix(nc-gui): add new row sticky button shadow issue * fix(nc-gui): remove unwanted btn shadow from group by menu * fix(nc-gui): mfe add new field btn shadow issue * fix(nc-gui): add input box shadow while renaming base/source/view from sidebar * fix(nc-gui): add some padding transition on rename base/view * fix(nc-gui): close new record dropdown on click add new record btn * fix(nc-gui): update feeds page header and megaphone icon * fix(nc-gui): add some padding in feeds social link list * fix(nc-gui): feed changelog tag world break issue * fix(nc-gui): access settings tab icons size * fix(nc-gui): update rich text options icon * fix(nc-gui): update rich text option icons * fix(nc-gui): select input cell row height change on active * chore(nc-gui): lint * chore(nc-gui): monor changes
This commit is contained in:
@@ -571,11 +571,11 @@ const showNodeTooltip = ref(true)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input
|
||||
<a-input
|
||||
v-if="editMode"
|
||||
ref="input"
|
||||
v-model="tempTitle"
|
||||
class="flex-grow leading-1 outline-0 ring-none capitalize !text-inherit !bg-transparent flex-1 mr-4"
|
||||
v-model:value="tempTitle"
|
||||
class="capitalize !bg-transparent !flex-1 mr-4 !rounded-md !pr-1.5 !h-6 animate-sidebar-node-input-padding"
|
||||
:class="activeProjectId === base.id && baseViewOpen ? '!text-brand-600 !font-semibold' : '!text-gray-700'"
|
||||
@click.stop
|
||||
@keyup.enter="updateProjectTitle"
|
||||
@@ -797,8 +797,14 @@ const showNodeTooltip = ref(true)
|
||||
:bordered="false"
|
||||
ghost
|
||||
>
|
||||
<template #expandIcon="{ isActive }">
|
||||
<template #expandIcon="{ isActive, header }">
|
||||
<NcButton
|
||||
v-if="
|
||||
!(
|
||||
header?.[0]?.props?.['data-sourceId'] &&
|
||||
sourceRenameHelpers[header?.[0]?.props?.['data-sourceId']]?.editMode
|
||||
)
|
||||
"
|
||||
v-e="['c:external:base:expand']"
|
||||
type="text"
|
||||
size="xxsmall"
|
||||
@@ -814,7 +820,14 @@ const showNodeTooltip = ref(true)
|
||||
</template>
|
||||
<a-collapse-panel :key="`collapse-${source.id}`">
|
||||
<template #header>
|
||||
<div class="nc-sidebar-node min-w-20 w-full h-full flex flex-row group py-0.5 pr-6.5 !mr-0">
|
||||
<div
|
||||
:data-sourceId="source.id"
|
||||
class="nc-sidebar-node min-w-20 w-full h-full flex flex-row group py-0.5 !mr-0"
|
||||
:class="{
|
||||
'pr-0.5': source.id && sourceRenameHelpers[source.id]?.editMode,
|
||||
'pr-6.5': !(source.id && sourceRenameHelpers[source.id]?.editMode),
|
||||
}"
|
||||
>
|
||||
<div
|
||||
v-if="sourceIndex === 0"
|
||||
class="source-context flex items-center gap-2 text-gray-800 nc-sidebar-node-title"
|
||||
@@ -846,11 +859,11 @@ const showNodeTooltip = ref(true)
|
||||
/>
|
||||
</div>
|
||||
</NcTooltip>
|
||||
<input
|
||||
<a-input
|
||||
v-if="source.id && sourceRenameHelpers[source.id]?.editMode"
|
||||
ref="input"
|
||||
v-model="sourceRenameHelpers[source.id].tempTitle"
|
||||
class="flex-grow leading-1 outline-0 ring-none capitalize !text-inherit !bg-transparent flex-1 mr-4 !text-gray-700"
|
||||
v-model:value="sourceRenameHelpers[source.id].tempTitle"
|
||||
class="capitalize !bg-transparent flex-1 mr-4 !pr-1.5 !text-gray-700 !rounded-md !h-6 animate-sidebar-node-input-padding"
|
||||
:data-source-rename-input-id="source.id"
|
||||
@click.stop
|
||||
@keydown.enter.stop.prevent
|
||||
@@ -870,7 +883,10 @@ const showNodeTooltip = ref(true)
|
||||
</span>
|
||||
</NcTooltip>
|
||||
</div>
|
||||
<div class="flex flex-row items-center gap-x-0.25">
|
||||
<div
|
||||
v-if="!(source.id && sourceRenameHelpers[source.id]?.editMode)"
|
||||
class="flex flex-row items-center gap-x-0.25"
|
||||
>
|
||||
<NcDropdown
|
||||
:visible="isBasesOptionsOpen[source!.id!]"
|
||||
:trigger="['click']"
|
||||
|
||||
Reference in New Issue
Block a user