0

Is it possible when creating lists in SharePoint to have the decriptions of the list on more lines?

enter image description here


It currently looks like this:

enter image description here

I would much rather it looked like this:

1 Meget Lille
2 Lille
3 Moderat
4 Stort
5 Meget stort

1 Answer 1

1

By default it's not possible, SharePoint is rendering description as plain text using <div>{Your description}</div>. Here only possible way to inject your css using SPFx extension and applying while-space:pre in this div

enter image description here

enter image description here

Below are some articles which can help you to inject your custom CSS using SPFx exntesion.

Note

Keep in mind that Microsoft may change page elements and styles at any time, rendering your custom CSS useless. It is preferrable to use well-known HTML element placeholders.

1
  • Thank you very much for your time and explanation. :) Apr 29, 2023 at 9:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.