File tree Expand file tree Collapse file tree
design-tokens/src/tokens/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555/* Card body — groeit zodat footer altijd onderaan blijft */
5656.dsn-card__body {
5757 flex : 1 ;
58+ display : flex;
59+ flex-direction : column;
60+ gap : var (--dsn-card-body-row-gap );
5861 padding-block : var (--dsn-card-body-padding-block );
5962 padding-inline : var (--dsn-card-body-padding-inline );
6063}
6164
65+ /* Inline-elementen in de body (badges, tags) nemen hun eigen breedte — niet full-width */
66+ .dsn-card__body > .dsn-status-badge ,
67+ .dsn-card__body > .dsn-dot-badge {
68+ align-self : flex-start;
69+ }
70+
6271/* Card footer — uitgelijnde onderkant */
6372.dsn-card__footer {
6473 padding-block-end : var (--dsn-card-footer-padding-block-end );
108117 color : var (--dsn-card-heading-color );
109118 text-wrap : balance;
110119 margin-block-start : 0 ;
111- margin-block-end : var ( --dsn-card-heading-margin-block-end ) ;
120+ margin-block-end : 0 ;
112121}
113122
114123/* Link in de heading — erft kleur en maakt de card klikbaar via stretched link */
Original file line number Diff line number Diff line change 4646 "value" : " {dsn.space.inline.xl}" ,
4747 "type" : " spacing" ,
4848 "comment" : " Horizontale padding van de card body (16px)"
49+ },
50+ "row-gap" : {
51+ "value" : " {dsn.space.block.lg}" ,
52+ "type" : " spacing" ,
53+ "comment" : " Verticale ruimte tussen directe kinderen van de card body (12px)"
4954 }
5055 },
5156 "footer" : {
97102 "value" : " {dsn.text.line-height.lg}" ,
98103 "type" : " lineHeight" ,
99104 "comment" : " Regelafstand van de card heading"
100- },
101- "margin-block-end" : {
102- "value" : " {dsn.space.block.lg}" ,
103- "type" : " spacing" ,
104- "comment" : " Afstand onder de card heading (12px)"
105105 }
106106 },
107107 "group" : {
You can’t perform that action at this time.
0 commit comments