There will be instances where you want to retain or preserve spaces and line breaks in your datasource. For example, in your Description column, you have a handful of paragraphs separated by manual line breaks (Alt + Enter).
Because Awesome Table uses HTML to render the elements, it won't recognize Alt + Enter as in-cell paragraphs since this is native to Google Sheets. To remedy this, you can either place line breaks <br> where needed or add the CSS white-space property to your corresponding HTML element in your <style> template:
This is an advanced topic. For more information, please reference our article on how to modify your template.
Below are examples using the CSS property:
Live example # 1: Simple Cards view (Copy Template)
Live example # 2: Advanced Cards view (Copy Template)
We used this specific CSS selector in our examples:
* Where .description is our CSS selector (targeted column).
Comparison of the view and datasheet line breaks
Please sign in to leave a comment.