Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

realign toolbar

Ramesh Manee3fc1d191c5c
diff --git a/packages/nc-gui/components/smartsheet/Toolbar.vue b/packages/nc-gui/components/smartsheet/Toolbar.vue
index 9df17b0cb4..d7ee4c09f7 100644
--- a/packages/nc-gui/components/smartsheet/Toolbar.vue
+++ b/packages/nc-gui/components/smartsheet/Toolbar.vue
@@ -128,8 +128,6 @@ provide(IsToolbarIconMode, isToolbarIconMode)
<template v-if="!isMobileMode">
<SmartsheetToolbarRowHeight v-if="isGrid && isViewOperationsAllowed" />
- <SmartsheetToolbarRecordTemplatesButton v-if="isGrid && isViewOperationsAllowed && !isPublic && !isSharedBase" />
-
<template v-if="!isCalendar">
<SmartsheetToolbarExport v-if="!isViewOperationsAllowed" is-in-toolbar />
<SmartsheetToolbarOpenedViewAction :show-only-copy-id="!isViewOperationsAllowed" />
@@ -167,6 +165,7 @@ provide(IsToolbarIconMode, isToolbarIconMode)
<SmartsheetToolbarCalendarToggleSideBar />
</template>
+ <SmartsheetToolbarRecordTemplatesButton v-if="isGrid && isViewOperationsAllowed && !isPublic && !isSharedBase && !isMobileMode" />
<NcFullScreenToggleButton v-if="showFullScreenToggle" />
</template>
</div>
diff --git a/packages/nc-gui/components/smartsheet/toolbar/RecordTemplatesButton.vue b/packages/nc-gui/components/smartsheet/toolbar/RecordTemplatesButton.vue
index fa2e2e2574..f371ccb1bc 100644
--- a/packages/nc-gui/components/smartsheet/toolbar/RecordTemplatesButton.vue
+++ b/packages/nc-gui/components/smartsheet/toolbar/RecordTemplatesButton.vue
@@ -356,7 +356,7 @@ const customRow = (record: Record<string, any>) => ({
@click="openManager"
>
<div class="flex items-center gap-1 min-h-5">
- <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="8" height="4" x="8" y="2" rx="1" ry="1"/><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"/><path d="M9 12v-1h6v1"/><path d="M11 17h2"/><path d="M12 11v6"/></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="8" height="4" x="8" y="2" rx="1" ry="1"/><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"/><path d="M9 12v-1h6v1"/><path d="M11 17h2"/><path d="M12 11v6"/></svg>
</div>
</NcButton>
</NcTooltip>