Skip to content

Commit 20c2475

Browse files
committed
feat(JsonEditor): Prevent Table tab to expand to full width
1 parent 931953e commit 20c2475

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

dev/components/demo/PrimeInput.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async function submitHandler() {
5454
</div>
5555
</div>
5656
<div class="basis-1/2 xl:basis-1/3">
57-
<Tabs v-if="!hideTabs" value="0" class="ml-4">
57+
<Tabs v-if="!hideTabs" value="0">
5858
<TabList>
5959
<Tab value="0">
6060
Schema Editor
@@ -66,8 +66,8 @@ async function submitHandler() {
6666
Supported Attributes
6767
</Tab>
6868
</TabList>
69-
<TabPanels>
70-
<TabPanel value="0">
69+
<TabPanels class="">
70+
<TabPanel value="0" class="w-full max-w-200">
7171
<JsonEditorVue v-model="formSchema" v-bind="{ mode: 'tree' }" class="jse-theme-dark" />
7272
</TabPanel>
7373
<TabPanel value="1">
@@ -101,7 +101,8 @@ async function submitHandler() {
101101

102102
<style lang='scss' scoped>
103103
.jse-theme-dark {
104-
/* over all fonts, sizes, and colors */
104+
105+
/* over all fonts, sizes, and colors */
105106
--jse-theme-color: #383e42;
106107
--jse-theme-color-highlight: #687177;
107108
--jse-background-color: #1e1e1e;

0 commit comments

Comments
 (0)