zed/crates/storybook2
Marshall Bowers 0f33775a91
Add general-purpose functions for sizing in viewport units (#3833)
This PR adds general-purpose functions for obtaining a `Length` in
viewport units.

Previously in #3600 we had added specific variants of `w` and `h` that
took viewport units, but I think it makes more sense to just have a
primitive that can compose with any styling method that accepts a
`Length` or `Into<Length>`.

Release Notes:

- N/A
2024-01-02 11:53:57 -05:00
..
docs WIP 2023-09-20 14:32:55 -06:00
src Add general-purpose functions for sizing in viewport units (#3833) 2024-01-02 11:53:57 -05:00
build.rs WIP 2023-09-20 14:32:55 -06:00
Cargo.lock WIP 2023-09-20 14:32:55 -06:00
Cargo.toml Merge branch 'main' into story-enhancements 2023-12-15 10:26:59 -05:00