Skip to main content
All CollectionsSuper How to'sWorking with Databases
How to Wrap Titles in Gallery Cards
How to Wrap Titles in Gallery Cards

Titles and properties will not wrap by default, and this CSS code allows you to easily override this.

Charlene Abranilla avatar
Written by Charlene Abranilla
Updated over 2 years ago

You'll need to load some custom CSS in global Code for this. Try this and see if it is suitable:

.notion-collection-card.gallery .notion-property__title .notion-semantic-string  {
overflow: visible !important;
white-space: normal !important;
}

.notion-collection-card__content .notion-property__select {
overflow: visible !important;
white-space: normal !important;
text-overflow: initial !important;
display: inline !important;
}

.notion-collection-card__content .notion-property__text .notion-semantic-string {
overflow: visible !important;
white-space: normal !important;
text-overflow: initial !important;
display: inline !important;
}
Did this answer your question?