Skip to content

Commit ee23bb6

Browse files
committed
Grid field -- improve legibility
1 parent 51b9043 commit ee23bb6

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

resources/css/components/fieldtypes/grid.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111

1212
.grid-table thead th {
13-
@apply sticky -top-2 table-cell z-10 border-b bg-gray-50 p-2 text-sm font-medium text-gray-900 dark:border-gray-900 dark:bg-gray-800 dark:text-gray-100;
13+
@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;
1414

1515
&:first-child {
1616
@apply rounded-ss-lg ps-3;
@@ -40,20 +40,20 @@
4040
}
4141

4242
&.drag-handle {
43-
@apply h-full p-2 cursor-grab hover:bg-gray-100 dark:hover:bg-gray-700 border-e border-transparent hover:border-e-gray-200 dark:hover:border-e-gray-600;
43+
@apply h-full p-2 cursor-grab hover:bg-gray-100 dark:hover:bg-gray-700 border-e border-gray-200 hover:border-e-gray-300 dark:hover:border-e-gray-600;
4444
width: 1%;
45-
background: url('../../../svg/ui/drag-dots.svg') center center no-repeat;
45+
background: var(--color-gray-50) url('../../../svg/ui/drag-dots.svg') center center no-repeat;
4646
background-size: 7px 17px;
4747
}
4848
}
4949

5050
tr:last-child td {
5151
@apply border-b-0;
5252
&:first-child {
53-
@apply ltr:rounded-bl rtl:rounded-br;
53+
@apply ltr:rounded-bl-[7px] rtl:rounded-br-[7px];
5454
}
5555
&:last-child {
56-
@apply ltr:rounded-br rtl:rounded-bl;
56+
@apply ltr:rounded-br-[7px] rtl:rounded-bl-[7px];
5757
}
5858
}
5959

resources/css/core/utilities.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
@utility focus-none {
7575
outline: 0;
7676
box-shadow: none;
77-
}
77+
}
7878

7979
@utility loading {
8080
text-align: center;

0 commit comments

Comments
 (0)