There are CSS classes supplied by Quasar to help you with spacing for DOM elements or components.
<!-- small padding in all directions -->
When enabled (through
quasar.conf > framework > cssAddon: true) it provides breakpoint aware versions for all spacing related CSS classes.
Note that there will be a noticeable bump in CSS footprint when enabling it. So only do it if you really need it.
q-pa-xs q-pa-sm-sm q-px-md-lg q-py-md-md
See more details about the Flex Addons