mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-16 15:11:25 +00:00
75c1f0e997
This PR adds `w_vw` and `h_vh` methods to `StyledExt`. These methods are the same as their `w` and `h` counterparts, but operate in viewport units, giving us the equivalent of `vw` and `vh` in CSS. You can see them in action in this story: ``` cargo run -p storybook2 -- components/viewport_units ``` Release Notes: - N/A |
||
---|---|---|
.. | ||
docs | ||
src | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml |