Advanced templates (Style, scripts and more)

Follow

Comments

5 comments

  • Avatar
    Alex Taylor

    Would it be possible to give an example, eg how to set a specific column width in a table?

    Thanks

  • Avatar
    Awesome Table

    Hello Alex,

    There is an article on how to set style to specific columns : https://support.awesome-table.com/hc/en-us/articles/115001393209--Table-view-Add-style-to-specific-columns-or-rows

    You can use this to add width rules like : { width:300px!important }

    Thank you,

    Nicolas

  • Avatar
    Mr S Lancaster

    Hello, 

     

    ive modified the Ikea catalogue template to act as a book review system populated via Google form.  Working great apart from 2 quirks.

     

    Firstly, the review / description text (which can be quite large) does not recognise return carriages so the review text is one large block of text, even though the data on the sheet has the correct formatting.  Can anything be done to fix this? 

     

    Secondly due to some reviews being quite long, can there be a scrollable option added to the pop up card?  If so, what is the code for this? 

    thanks

     

  • Avatar
    Mr S Lancaster

    Ive sorted the scroll by adding 

     

    overflow-y: scroll;
    max-height: 500px;

    to the .description section 

    and also 

    max-height: 500px;

    to the .popUp

     

    overflow won't work without a defined height field and .description is nested under .popUp

  • Avatar
    Mr S Lancaster

    Sorted the formatting by adding this 

     

    white-space: pre-line; 

    to the .description section 

    Text now displays correctly (recognises line breaks) 

Please sign in to leave a comment.