This setting in Drive lets you change the way folders and files are presented
In Google Drive you can change the setting to display as Comfortable, Cozy or Compact.
There’s a similar setting for Gmail too.
Click the Settings Gear Icon
Select from Comfortable, Cozy or Compact
It’s best to have a play with each setting and see which suits you best.
Compact gives more data but less white space between the lines, comfortable gives max whitespace and cozy is somewhere in between.
Choose a setting that works for you.