Browse Source

fix(gui): increase icon size in skeleton view

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4630/head
Pranav C 2 years ago
parent
commit
21c6b3bf80
  1. 2
      packages/nc-gui/components/dashboard/settings/Metadata.vue
  2. 2
      packages/nc-gui/components/erd/TableNode.vue

2
packages/nc-gui/components/dashboard/settings/Metadata.vue

@ -69,7 +69,7 @@ const columns = [
{ {
// Models // Models
title: tableHeaderRenderer(t('labels.models')), title: tableHeaderRenderer(t('labels.models')),
key: 'table_name' key: 'table_name',
}, },
{ {
// Sync state // Sync state

2
packages/nc-gui/components/erd/TableNode.vue

@ -59,7 +59,7 @@ watch(
:class="[showSkeleton ? '' : 'bg-primary bg-opacity-10', hasColumns ? 'border-b-1' : '']" :class="[showSkeleton ? '' : 'bg-primary bg-opacity-10', hasColumns ? 'border-b-1' : '']"
class="text-slate-600 text-md py-2 border-slate-500 rounded-t-lg w-full h-full px-3 font-semibold flex items-center" class="text-slate-600 text-md py-2 border-slate-500 rounded-t-lg w-full h-full px-3 font-semibold flex items-center"
> >
<GeneralTableIcon class="text-primary" :meta="table" /> <GeneralTableIcon class="text-primary" :class="{ '!text-6xl !w-auto mr-2': showSkeleton }" :meta="table" />
<div :class="showSkeleton ? 'text-6xl' : ''" class="flex pr-2 pl-1"> <div :class="showSkeleton ? 'text-6xl' : ''" class="flex pr-2 pl-1">
{{ table.title }} {{ table.title }}
</div> </div>

Loading…
Cancel
Save