Skip to content

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

fix: update sandbox status chip

Ramesh Mane3d5b4e7d4140
diff --git a/packages/nc-gui/assets/nc-icons/info-solid.svg b/packages/nc-gui/assets/nc-icons/info-solid.svg
index 443c7246af..b2925d9d1d 100644
--- a/packages/nc-gui/assets/nc-icons/info-solid.svg
+++ b/packages/nc-gui/assets/nc-icons/info-solid.svg
@@ -1,5 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
<path d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" fill="currentColor" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- <path d="M12 16V12" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- <path d="M12 8H12.01" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M12 16V12" class="nc-icon-inner" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M12 8H12.01" class="nc-icon-inner" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
\ No newline at end of file
diff --git a/packages/nc-gui/components/smartsheet/topbar/SandboxStatus.vue b/packages/nc-gui/components/smartsheet/topbar/SandboxStatus.vue
index 4735089ed0..2ae30d3b3c 100644
--- a/packages/nc-gui/components/smartsheet/topbar/SandboxStatus.vue
+++ b/packages/nc-gui/components/smartsheet/topbar/SandboxStatus.vue
@@ -76,10 +76,10 @@ watch(
<div v-if="isSandboxMaster" class="flex items-center gap-2">
<!-- Version Badge (clickable to open modal) -->
<div
- class="flex items-center gap-1.5 px-2.5 py-1 bg-nc-bg-gray-light rounded-md border border-nc-border-gray-medium cursor-pointer hover:bg-nc-bg-gray-medium transition-colors"
+ class="flex items-center gap-1.5 px-2.5 py-1 bg-nc-bg-gray-light rounded-md border-1 border-nc-border-gray-medium cursor-pointer hover:(bg-nc-bg-gray-medium border-nc-border-gray-dark) transition-colors"
@click="openModal()"
>
- <GeneralIcon icon="ncInfoSolid" class="w-3.5 h-3.5 text-nc-content-gray" />
+ <GeneralIcon icon="ncInfoSolid" class="w-3.5 h-3.5 text-nc-content-gray nc-sanbox-status-info-icon" />
<span class="text-xs font-mono font-semibold text-nc-content-gray-emphasis">v{{ currentVersion?.version || '1.0.0' }}</span>
<div
v-if="currentVersion?.status === 'draft'"
@@ -106,3 +106,10 @@ watch(
@forked="handleForked"
/>
</template>
+
+
+<style lang="scss" scoped>
+ :deep(.nc-sanbox-status-info-icon path.nc-icon-inner) {
+ stroke: var(--nc-bg-gray-light) !important;
+ }
+</style>
\ No newline at end of file