Forum Discussion

Micraf's avatar
Micraf
Copper Contributor
Mar 02, 2022
Solved

Wrap breaking words

Hi Everyone, I have managed to get the words to wrap in the gallery view of a list, however, it breaks in the middle of words and I cannot figure out how to rectify this.  JSON code below.   I am ...
  • ganeshsanap's avatar
    ganeshsanap
    Mar 03, 2022

    Micraf Try using combination of white-space , word-wrap and word-break which suits your requirements.

    I noticed sp-card-subcontainer class is using word-break: break-all which might be causing this problem. Try using other values for this property and see which one works for you.


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Resources