Skip to content

Commit

Permalink
Merge pull request #246 from ianrobertsFF/fix-panel-borders
Browse files Browse the repository at this point in the history
Fix field borders within tabs
  • Loading branch information
marcfil authored Sep 8, 2022
2 parents 5d340a4 + f0a7e7b commit 7db3533
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/js/components/DetailTabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
:label="tab.name"
v-show="getIsTabCurrent(tab)"
>
<div :class="getBodyClass(tab)">
<div class="divide-y divide-gray-100 dark:divide-gray-700" :class="getBodyClass(tab)">
<KeepAlive v-for="(field, index) in tab.fields" :key="index">
<component
:is="getComponentName(field)"
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/FormTabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
]"
:label="tab.name"
>
<div :class="getBodyClass(tab)">
<div class="divide-y divide-gray-100 dark:divide-gray-700" :class="getBodyClass(tab)">
<KeepAlive>
<template
v-for="(field, index) in tab.fields"
Expand Down

0 comments on commit 7db3533

Please sign in to comment.