Skip to content

Commit 89cc6e2

Browse files
committed
feat: add padding to data-list item
1 parent 05c92ff commit 89cc6e2

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

components/data-list/css/_mixin.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@
7474
grid-auto-columns: 1fr;
7575
grid-template-columns: repeat(auto-fit, var(--_utrecht-auto-col));
7676
margin-block-start: var(--utrecht-data-list-rows-item-margin-block-start);
77+
padding-block-end: var(--utrecht-data-list-rows-item-padding-block-end);
78+
padding-block-start: var(--utrecht-data-list-rows-item-padding-block-start);
7779
row-gap: 0;
7880
}
7981

components/data-list/tokens.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,22 @@
7878
"inherits": true
7979
}
8080
}
81+
},
82+
"padding-block-end": {
83+
"$extensions": {
84+
"nl.nldesignsystem.css.property": {
85+
"syntax": "<length>",
86+
"inherits": true
87+
}
88+
}
89+
},
90+
"padding-block-start": {
91+
"$extensions": {
92+
"nl.nldesignsystem.css.property": {
93+
"syntax": "<length>",
94+
"inherits": true
95+
}
96+
}
8197
}
8298
},
8399
"item-value": {

0 commit comments

Comments
 (0)