Skip to content

Commit dbb1ad2

Browse files
LFDanLudannify
andauthored
fixing listview item text padding (#2914)
should be 12px padding like it was before, draggable rows will override this themselves Co-authored-by: Danni <[email protected]>
1 parent 5cbe797 commit dbb1ad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@react-spectrum/list/src/listview.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
font-size: var(--spectrum-table-cell-text-size, var(--spectrum-alias-font-size-default));
4343
font-weight: var(--spectrum-table-cell-text-font-weight, var(--spectrum-global-font-weight-regular));
4444
line-height: calc(var(--spectrum-table-cell-text-size, var(--spectrum-alias-font-size-default)) * var(--spectrum-table-cell-text-line-height, var(--spectrum-alias-body-text-line-height)) - 1px);
45-
padding: var(--spectrum-listview-item-regular-padding-y) var(--spectrum-global-dimension-size-250);
45+
padding: var(--spectrum-listview-item-regular-padding-y) var(--spectrum-global-dimension-size-150);
4646
transition: background-color var(--spectrum-global-animation-duration-100) ease-in-out;
4747
position: relative;
4848
/*background-color: var(--spectrum-table-background-color, var(--spectrum-global-color-gray-50));*/

0 commit comments

Comments
 (0)