Skip to content

Commit

Permalink
Remove Overflow, should fix #16
Browse files Browse the repository at this point in the history
  • Loading branch information
bajramemini committed Feb 3, 2019
1 parent 530dbef commit 4f94114
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions resources/js/components/DetailTabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<slot>
<!--<h4 class="text-90 font-normal text-2xl mb-3">{{ panel.name }}</h4>-->
</slot>
<div class="relationship-tabs-panel card overflow-hidden overflow-x-auto">
<div class="relationship-tabs-panel card">
<div
class="tabs flex flex-row overflow-x-auto"
:class="{'has-search-bar': activeTabHasSearch}"
Expand All @@ -20,12 +20,11 @@
<div
:class="[(panel && panel.defaultSearch) ? 'default-search': 'tab-content']"
v-for="(tab, index) in tabs"
v-if="tab.init"
v-show="tab.name == activeTab"
:label="tab.name"
:key="'related-tabs-fields' + index"
>
<div :class="{'px-6 py-3':!tab.listable}">
<div :class="{'px-6 py-3':!tab.listable}" v-if="tab.init">
<component
v-for="(field, index) in tab.fields"
:class="{'remove-bottom-border': index == tab.fields.length - 1}"
Expand Down

0 comments on commit 4f94114

Please sign in to comment.