We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29a9e41 commit ced2046Copy full SHA for ced2046
src/properties/grid.rs
@@ -1014,10 +1014,10 @@ struct SerializedGridAutoFlow {
1014
impl From<GridAutoFlow> for SerializedGridAutoFlow {
1015
fn from(flow: GridAutoFlow) -> Self {
1016
Self {
1017
- direction: if flow.contains(GridAutoFlow::Row) {
1018
- AutoFlowDirection::Row
1019
- } else {
+ direction: if flow.contains(GridAutoFlow::Column) {
1020
AutoFlowDirection::Column
+ } else {
+ AutoFlowDirection::Row
1021
},
1022
dense: flow.contains(GridAutoFlow::Dense),
1023
}
0 commit comments