Skip to content

Commit

Permalink
Merge pull request #806 from near/develop
Browse files Browse the repository at this point in the history
weekly promotion of develop to main
  • Loading branch information
calebjacob authored May 7, 2024
2 parents 592e655 + 420426b commit 1322be7
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions src/Entities/Template/EntityList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ const Search = styled.div`
width: 246px;
margin-right: auto;
@media (max-width: 500px) {
width: 100%;
@media (max-width: 300px) {
width: 50%;
}
`;

Expand Down Expand Up @@ -147,23 +147,14 @@ const Text = styled.p`

const Flex = styled.div`
display: flex;
gap: ${(p) => p.$gap};
align-items: ${(p) => p.$alignItems};
justify-content: ${(p) => p.$justifyContent};
flex-direction: ${(p) => p.$direction ?? "row"};
flex-wrap: ${(p) => p.$wrap ?? "nowrap"};
${(p) =>
p.$mobileStack &&
`
@media (max-width: 900px) {
flex-direction: column;
}
`}
@media (max-width: 900px) {
gap: ${(p) => p.$mobileGap ?? p.$gap};
align-items: ${(p) => p.$mobileAlignItems ?? p.$alignItems};
gap: 1rem;
align-items: center;
flex-direction: row;
flex-wrap: nowrap;
@media (max-width: 300px) {
flex-direction: column;
align-items: flex-end;
}
`;

Expand Down

0 comments on commit 1322be7

Please sign in to comment.