Skip to content

Commit

Permalink
SP-07: Update feed
Browse files Browse the repository at this point in the history
  • Loading branch information
Tihi321 committed Aug 8, 2024
1 parent fc1e8c1 commit b826260
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/blocks/news/FeedList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,21 @@ import { getFilteredSearch } from "./utils";

const Container = styled("div")`
margin: auto;
height: 212px;
overflow: hidden;
transition: height 0.3s ease-in-out;
border-radius: 8px;
background: var(--dark);
&:hover {
height: 360px;
}
`;

const Feed = styled("div")`
width: 100%;
height: 380px;
background: var(--dark);
padding: 8px;
border-radius: 8px;
padding: 8px 8px 18px;
overflow: auto;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
Expand Down Expand Up @@ -49,9 +56,7 @@ const Feed = styled("div")`
const ExpandedFeed = styled("div")`
width: 100%;
height: 400px;
background: var(--dark);
padding: 16px;
border-radius: 8px;
padding: 16px 16px 48px;
font-size: 14px;
overflow: auto;
display: flex;
Expand Down

0 comments on commit b826260

Please sign in to comment.