Larger preview images in the files selection dialog

I always found the small preview images in the files selection dialog annoying. With similar images, choosing the right one was often a matter of luck. I found a solution with a very simple CSS correction. But I wonder if this is the best solution, or if there is an “official” solution from the Kirby team?

/assets/css/custom-panel.css

.k-dialog-body .k-item[data-layout=list] {
    --item-height: 4rem;
}

4 Likes

Mmh, seems super nice but I can’t make it worked with Kirby 5.1.1

The “custom-panel.css” is place here?

/assets/css/custom-panel.css

Do I need to reference the css somewhere?

Many thanks

Hey,

maybe this link helps?

2 Likes

Yeah! Perfect. So nice! Thx