Custom Layout

I have a Lovelace and integrated custom-cards. Now I have 4 coulmns in my tablet view. I want it more flexibile. How can I do that?

have only 3 colounms.or first raw with 3, second with 4 and so on

I am not sure what you are asking about, but maybe its the lovelace layouts yu want to control.
Clicking on the pencil next to your views name will get a view setup box up and somewhere there you will probably see Masonry (Default).
Try to play around with does options and look at the link below for more possibilities.