+112
-89
lines changedFilter options
+112
-89
lines changed Original file line number Diff line number Diff line change
@@ -2,13 +2,18 @@
2
2
3
3
## 0.3.0-alpha2 (unreleased)
4
4
5
+
### Added
6
+
7
+
- A new style helper `evenly_sized_tracks(count: u16)` has been added which creates a grid template containing `count` evenly sized tracks (rows or columns)
8
+
5
9
### Changed
6
10
7
11
- `experimental_grid` feature named to just `grid`
8
12
- `grid` feature enabled by default
9
13
- `GridPlacement::Line` now stores a `GridLine` newtype wrapper around an `i16` rather than a raw `i16`. If you are using the style helpers then this change will not affect you.
10
14
- *BREAKING:* `Position` is now renamed to `Inset` and is now in line with [CSS inset specs](https://developer.mozilla.org/en-US/docs/Web/CSS/inset)
11
15
- *BREAKING:* `PositionType` is now renamed to `Position` and is now in line with [CSS position specs](https://developer.mozilla.org/en-US/docs/Web/CSS/position)
16
+
- `MaxTrackSizingFunction::Flex` is now called `MaxTrackSizingFunction::Fraction`. The `flex()` helper is now called `fr()`. A new `flex()` helper has been added which create a `minmax(0, Nfr)` track.
12
17
13
18
### Fixes
14
19
Original file line number Diff line number Diff line change
@@ -20,9 +20,9 @@ fn random_grid_track<R: Rng>(rng: &mut R) -> TrackSizingFunction {
20
20
} else if switch < 0.3 {
21
21
max_content()
22
22
} else if switch < 0.5 {
23
-
flex(1.0)
23
+
fr(1.0)
24
24
} else if switch < 0.6 {
25
-
minmax(points(0.0), flex(1.0))
25
+
minmax(points(0.0), fr(1.0))
26
26
} else if switch < 0.8 {
27
27
points(40.0)
28
28
} else {
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4