Repository navigation
New: column_width
Each column can now set its own width, so a narrow "Size" column no longer takes the same space as a long "Name" column. Requested in #90.
columns:
- title: Name
field: name
column_width: 2fr
- title: Size
field: size
column_width: 80px- Accepted values:
px,%,em,rem,ch,vw,vh,fr,auto,min-contentandmax-content. A bare number meansfr, so2is the same as2fr. - Default: columns without
column_widthsplit the remaining space equally, so existing configs look the same as before. - Invalid values: these fall back to the equal-width default instead of breaking the layout.
- Editor: the visual editor has a new Column width field. The existing image-size field is now labelled Image width to avoid confusion. The
widthoption itself is unchanged. - card-mod users: the grid now uses a
--list-card-templateCSS variable instead of--list-card-columns. Styles that read the old variable will need updating.
Thanks
Thanks to @Danielsan9998 for suggesting this in #90.
PR: #91