Skip to content

Commit 74411ca

Browse files
committed
fix: generate correct class name from offsets in grid column directive
1 parent 46cb2e6 commit 74411ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/grid/column.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export class ColumnDirective implements OnInit, OnChanges, OnDestroy {
129129
});
130130

131131
Object.keys(this.offsets).forEach(key => {
132-
this._columnClasses.push(`cds--${key}:col-start${this.offsets[key] + 1}`);
132+
this._columnClasses.push(`cds--${key}:col-start-${this.offsets[key] + 1}`);
133133
});
134134
} else {
135135
// Set column classes for flex grid

0 commit comments

Comments
 (0)