Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:near/near-discovery into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
charleslavon committed Jul 2, 2024
2 parents 2762f76 + 02d7b7e commit a9b9416
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/sidebar-navigation/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const Sidebar = () => {
</S.Stack>
</S.Section>

<S.Section style={{ flexGrow: 1 }}>
<S.Section style={{ flexGrow: 1, borderBottom: 'none' }}>
<S.SectionLabel>Resources </S.SectionLabel>

<S.Stack $gap="0.5rem">
Expand Down
7 changes: 7 additions & 0 deletions src/components/sidebar-navigation/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -887,6 +887,11 @@ export const Drawer = styled.div<{
export const ProfileDropdownSection = styled(Section)<{
$expanded: boolean;
}>`
position: sticky;
bottom: 0;
background: var(--white);
border-top: 1px solid var(--sand6);
@media (min-width: ${SMALL_SCREEN_LAYOUT_MAX_WIDTH}px) {
${(p) =>
p.$expanded
Expand All @@ -909,6 +914,8 @@ export const ProfileDropdownSection = styled(Section)<{
export const SearchSection = styled(Section)<{
$expanded: boolean;
}>`
padding: 0 1rem 1rem 1rem;
@media (min-width: ${SMALL_SCREEN_LAYOUT_MAX_WIDTH}px) {
${(p) =>
p.$expanded
Expand Down

0 comments on commit a9b9416

Please sign in to comment.