Skip to content

Commit

Permalink
fix(Grid): resolved align='laft' valid (#2110)
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao authored Jun 20, 2023
1 parent 5caf7f8 commit 6ae343f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/grid-item/grid-item.less
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
flex-direction: row;
padding-left: @grid-item-padding;
}

&--left {
justify-self: flex-start;
align-items: flex-start;

.@{prefix}-grid-item__words {
text-align: left;
}
}
}

&__words {
Expand Down Expand Up @@ -104,15 +113,6 @@
}
}

&--left {
justify-self: flex-start;
align-items: flex-start;

.@{prefix}-grid-item__words {
text-align: left;
}
}

&__text {
width: inherit;
color: @grid-item-text-color;
Expand Down

0 comments on commit 6ae343f

Please sign in to comment.