There was an error while loading. Please reload this page.
1 parent 83b33ca commit cb4996cCopy full SHA for cb4996c
2 files changed
resources/css/components/fieldtypes/grid.css
@@ -55,7 +55,7 @@
55
@apply outline-hidden;
56
57
> td {
58
- @apply border-b px-2 py-3 align-top dark:border-gray-900;
+ @apply border-b px-1 @2xl:px-2 py-3 align-top dark:border-gray-900;
59
60
&:first-child.grid-cell {
61
@apply ltr:pl-3 rtl:pr-3;
resources/js/components/fieldtypes/grid/Grid.vue
@@ -86,7 +86,7 @@ export default {
86
87
computed: {
88
component() {
89
- const isNarrow = this.fields.length > 1 && this.containerWidth < 600;
+ const isNarrow = this.fields.length > 1 && this.containerWidth < 550;
90
91
return this.config.mode === 'stacked' || isNarrow ? 'GridStacked' : 'GridTable';
92
},
0 commit comments