I don’t like files viewers with a lot of padding, so I created some custom CSS to enable an ultra-compact view. I didn’t see anyone else share something like this, so I wanted to share it as a resource for anyone else looking to go down this road.
These instructions are accurate as of Nextcloud 27.1.2.
Once you have that, Click the upper-right icon to bring up the menu, go to “Administration Settings”, In the left side panel go to the “Administration” group and select “Theming”, then at the bottom you can type in custom-CSS. This is what I used:
interesting work! it’s a nice result that I’m sure many people would like to use. If you’re interested in it, I could recommend to maybe upload it as an app to the app store? Either way thanks for sharing!
That would really be a great feature (maybe directly in Nextcloud without an app). I believe that far too much space is wasted these days, especially with responsive design. Perhaps we should take a fundamental look at this.
No, a compact list view could be added as a third option to the existing (standard) list view and grid view, in which case there would be no need for fundamental discussions about today’s design choices, as users would be able to decide for themselves which one to use.
This CSS for Nextcloud 27 does not work on Nextcloud 28 since it comes with a complete overhauled interface with different css selectors.
That is why I wrote a new css for nearly the same result but working on Nextcloud 28.
In the end, the selectors are set better, meaning the same result can be achieved with less CSS.
This is a first quick throw to adjust the files list (list view, not grid view).