New list block top bar button alignment

Hello, one way to do this before Softr adds this option is to add 2 list block (the old one and the new one) mapped to the same table,

Example:

  • Add 1 Block “List With Small Cards” (the old one)-> Select your “user” table for the data source but display nothing except the title only + button Add record and remove padding-bottom

  • Configure your Add Record and make it align to the left as you want

  • Now add 1 Block “List” (the new one) → Select your “user” table for the data source , display the information as you wish but do not display the title and remove the button “add record” and remove padding-top

  • You will need to reload the second block when you use “Add record” on the first block, so here is the code provided by Matthieu to do this:

The result is as follows:

Here the settings for Old List Block :

Capture d’écran 2024-12-05 013810

Hope it will help before update : )

1 Like