mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-28 01:11:23 +01:00
tile_grid: the card_text doc says a preset card's name is the regular body type again
A preset card keeps the body-type name unless the card asks for `PresetStrong`, so the doc needs no change from next and grid.rs leaves the diff.
This commit is contained in:
1 parent
4c853b1077
commit
152d73b5eb
1 file changed
+1
-1
@@ -288,7 +288,7 @@ pub struct TileGrid<'a, K: Clone + Eq + Hash + Send + Sync + 'static> {
|
||||
/// Tiles are framed cards: the picture inset in a raised surface with the name and detail under it as `card_text` sets them.
|
||||
#[prop(flag)]
|
||||
card: bool,
|
||||
/// How framed cards set their name and detail: the strong, start-aligned name of a file, or the centred strong
|
||||
/// How framed cards set their name and detail: the strong, start-aligned name of a file, or the centred regular
|
||||
/// name of a preset.
|
||||
#[prop]
|
||||
card_text: CardText,
|
||||
|
||||
Reference in new issue
Block a user