Skip to content

Commit ad832b7

Browse files
committed
revert(client): responsive layout for components panel
1 parent 740875f commit ad832b7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/client/src/pages/components.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -259,16 +259,11 @@ watchDebounced(filterName, (v) => {
259259
}, { debounce: 300 })
260260
261261
const devtoolsState = useDevToolsState()
262-
263-
// responsive horizontal layout
264-
const splitpanesRef = ref<HTMLDivElement>()
265-
const { width: splitpanesWidth } = useElementSize(splitpanesRef)
266-
const horizontal = computed(() => splitpanesWidth.value < 700)
267262
</script>
268263

269264
<template>
270265
<PanelGrids h-screen>
271-
<Splitpanes ref="splitpanesRef" :horizontal="horizontal">
266+
<Splitpanes>
272267
<Pane flex flex-col border="r base">
273268
<div w-full flex gap2 px2 py2>
274269
<VueInput v-if="loaded" v-model="filterName" :loading-debounce-time="250" :loading="!filtered" placeholder="Find components..." flex-1 />

0 commit comments

Comments
 (0)