✨ Add Button, BodyShort and Heading to @navikt/ds-react
forwardRef-based components with navds-* classnames composed via a small local cn() utility. Adds shared tsconfig.base.json and truncate modifier for BodyShort.
This commit is contained in:
1 parent
b4930f754e
commit
559fd2b971
12 files changed
+164
No files matched your search
@@ -19,6 +19,12 @@
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.navds-body-short--truncate {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.navds-heading {
|
||||
margin: 0;
|
||||
font-family: var(--a-font-family);
|
||||
|
||||
Reference in new issue
Block a user