Skip to content

Commit aaeb402

Browse files
committed
Grid field type - fix some alignment issues
1 parent b4cffe8 commit aaeb402

File tree

1 file changed

+5
-2
lines changed
  • resources/css/components/fieldtypes

1 file changed

+5
-2
lines changed

resources/css/components/fieldtypes/grid.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
border-spacing: 0;
99
table-layout: auto;
1010

11+
[data-ui-field-text] {
12+
@apply sr-only;
13+
}
14+
1115
thead th {
1216
@apply sticky -top-2 table-cell z-10 border-b bg-gray-100/75 p-2 text-sm font-medium text-gray-900 dark:border-gray-900 dark:bg-gray-800 dark:text-gray-100;
1317

@@ -67,9 +71,8 @@
6771
}
6872

6973
tbody .grid-row-controls {
70-
@apply text-center ltr:pl-0 rtl:pr-0;
74+
@apply text-center pt-3 ltr:pl-0 rtl:pr-0;
7175
width: 1%;
72-
padding-top: 21px; /* pseudo-center for text/select fields */
7376
}
7477
}
7578

0 commit comments

Comments
 (0)