Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

Multiple columns in k-lists #578

Open
hdodov opened this issue Jul 14, 2020 · 1 comment
Open

Multiple columns in k-lists #578

hdodov opened this issue Jul 14, 2020 · 1 comment

Comments

@hdodov
Copy link

hdodov commented Jul 14, 2020

Sometimes, it doesn't make sense for Kirby to have such long list items:

image

It's just wasted space. This can be a problem when you have lots of entries. You can use cards, but even at size: tiny, they occupy too much space. I'd like to have the option to list items like this:

image

If I have a full-width pages field, it would even make sense to have 3 columns. It'd be nice to have this option on everything that displays a list. Something like this would be ideal:

sections:
  published:
    type: pages
    status: listed
    columns: 2
@afbora
Copy link
Member

afbora commented Aug 27, 2020

I tried to implement this feature. I caught the look successfully but i've learned that column-count doesn't support position: absolute for dropdown menu of items (when click to three dots).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants