@@ -5,7 +5,6 @@ import type { IframePanes } from 'iframe-pane'
55import type { CSSProperties } from ' vue'
66import { REMOTE_CONNECTION_KEY } from ' @devframes/hub/constants'
77import { computed , nextTick , onMounted , onUnmounted , ref , useTemplateRef , watchEffect } from ' vue'
8- import { getEntryGroup } from ' ../../state/dock-settings'
98import { sharedStateToRef } from ' ../../state/docks'
109
1110const props = defineProps <{
@@ -44,15 +43,9 @@ function stripRemoteConnectionParam(url: string): string {
4443}
4544
4645const settings = sharedStateToRef (props .context .docks .settings )
47- const showAddressBar = computed (() => settings .value .showIframeAddressBar ?? true )
4846const isEdgeMode = computed (() => props .context .panel .store .mode === ' edge' )
49- const addressBarBorderClass = computed (() => {
50- if (isEdgeMode .value )
51- return ' border-b'
52- if (getEntryGroup (props .context .docks .entries , props .entry ))
53- return ' border-t border-r rounded-tr-md'
54- return ' border rounded-t-md border-b-0'
55- })
47+ const showAddressBar = computed (() => settings .value .showIframeAddressBar ?? true )
48+
5649const ADDRESS_BAR_HEIGHT = 40
5750
5851const isLoading = ref (true )
@@ -271,8 +264,7 @@ onUnmounted(() => {
271264 <div class =" w-full h-full flex flex-col" >
272265 <div
273266 v-if =" showAddressBar"
274- class =" flex-none px-2 w-full flex items-center gap-1 border-base"
275- :class =" addressBarBorderClass"
267+ class =" flex-none px-2 w-full flex items-center gap-1 border-base border-b"
276268 :style =" { height: `${ADDRESS_BAR_HEIGHT}px` }"
277269 >
278270 <!-- Navigation buttons (hidden for cross-origin) -->
0 commit comments