Skip to content

Commit 0b3f5e2

Browse files
authored
Merge pull request #14 from devforth/feature/AdminForth/1360/test-adminforth-on-mobile-devi
fix: add adaptation inline list table for mobile
2 parents c7dd4ce + 059e394 commit 0b3f5e2

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

custom/InlineList.vue

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -112,22 +112,23 @@
112112
></ThreeDotsMenu>
113113

114114
</div>
115-
116-
<ResourceListTable
117-
:noRoundings="true"
118-
:resource="listResource"
119-
:rows="rows"
120-
@update:page="page = $event"
121-
@update:sort="sort = $event"
122-
@update:checkboxes="checkboxes = $event"
123-
@update:records="getList"
124-
125-
:sort="sort"
126-
:pageSize="pageSize"
127-
:totalRows="totalRows"
128-
:checkboxes="checkboxes"
129-
:customActionsInjection="listResource?.options?.pageInjections?.list?.customActionIcons"
130-
/>
115+
<div style="display: grid; min-width: 0;">
116+
<ResourceListTable
117+
:noRoundings="true"
118+
:resource="listResource"
119+
:rows="rows"
120+
@update:page="page = $event"
121+
@update:sort="sort = $event"
122+
@update:checkboxes="checkboxes = $event"
123+
@update:records="getList"
124+
125+
:sort="sort"
126+
:pageSize="pageSize"
127+
:totalRows="totalRows"
128+
:checkboxes="checkboxes"
129+
:customActionsInjection="listResource?.options?.pageInjections?.list?.customActionIcons"
130+
/>
131+
</div>
131132

132133
</td>
133134
</template>

0 commit comments

Comments
 (0)