Skip to content

[FR] Customize height of file preview cards #262

@nlc616

Description

@nlc616

Before submitting Please check the Wiki to see if this
feature is already listed.

  • In Style Settings or elsewhere, it would be helpful to be able to customize the height of the file preview cards without necessarily impacting the number of preview lines in the file preview cards.

Why would this be useful?

  • I have the plugin set to surface 4 preview lines of text.
  • I have only set the plugin to surface this many preview lines of text because I want the card to be that minimum height.
  • (Matter of personal preference, but) I think the text is fairly crowded if all 4/4 preview lines of text are in use.
  • My current solution is to set a custom 2-line 'description' in the frontmatter that appears in lieu of the 4-lines of preview text, while the 4-line height is still preserved, but I'm only doing this as a way to create padding.
  • I have tried playing with CSS in a custom CSS file, but since the card positions are being virtualized (dictating where each one starts vertically in the pane), I haven't found the right way to modify this.
Image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions