Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting of definition list (CSS) #2764

Open
xmrsa opened this issue Nov 28, 2024 · 0 comments
Open

Formatting of definition list (CSS) #2764

xmrsa opened this issue Nov 28, 2024 · 0 comments
Labels

Comments

@xmrsa
Copy link

xmrsa commented Nov 28, 2024

Description

The formatting of a definition list ("formatering av definisjonsliste") is missing. All the components in the list have the same format, and this makes the list difficult to read:
Image

It should look something like this (copied from https://interactive-examples.mdn.mozilla.net/pages/tabbed/dd.html):

Image

This example uses a CSS looking like this:
`p,
dt {
font-weight: bold;
}

dl,
dd {
font-size: 0.9rem;
}

dd {
margin-bottom: 1em;
}`

Additional Information

Discussed on Slack here: https://altinn.slack.com/archives/C068SF24QQM/p1732703663504899

@xmrsa xmrsa added the kind/feature-request New feature or request label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant