Skip to content

Commit 6bb35d4

Browse files
authored
fix: Conditionally hide bottom border in missing nodes modal on non-cloud environments (#6779)
## Summary - Conditionally hide the bottom border of the missing nodes modal content when not running in cloud environment - The footer is not visible in non-cloud environments, so the bottom border was appearing disconnected ## Changes - Added conditional `border-b-1` class based on `isCloud` flag in `MissingNodesContent.vue` - Keeps top border visible in all environments - Bottom border only shows in cloud environment where footer is present ## Test plan - [ ] Open missing nodes dialog in cloud environment - bottom border should be visible - [ ] Open missing nodes dialog in non-cloud environment - bottom border should be hidden - [ ] Verify top border remains visible in both environments ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6779-fix-Conditionally-hide-bottom-border-in-missing-nodes-modal-on-non-cloud-environments-2b16d73d365081cea1c8c98b11878045) by [Unito](https://www.unito.io)
1 parent 68c38f0 commit 6bb35d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/dialog/content/MissingNodesContent.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<template>
22
<div
3-
class="flex w-[490px] flex-col border-t-1 border-b-1 border-border-default"
3+
class="flex w-[490px] flex-col border-t-1 border-border-default"
4+
:class="isCloud ? 'border-b-1' : ''"
45
>
56
<div class="flex h-full w-full flex-col gap-4 p-4">
67
<!-- Description -->

0 commit comments

Comments
 (0)