Skip to content

Commit

Permalink
Fix overflow activity feed (#420)
Browse files Browse the repository at this point in the history
* Fix overflow activity feed

* Sidebar style update

* Move fix to CSS
  • Loading branch information
itexpert120 authored Jun 20, 2024
1 parent 3c5847f commit 9a6ed78
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 8 additions & 0 deletions apps/new/widget/CSS.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,14 @@ const CSS = styled.div`
.placeholder-glow {
background: var(--bg-1, black);
}
.content {
background: var(--bg-1, #000);
.main {
min-width: 0;
}
}
`;

return { CSS };
1 change: 0 additions & 1 deletion apps/new/widget/components/Sidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ function findDefaultRoute(routesObject) {
const tab = props.tab ?? findDefaultRoute(routes);

const Sidebar = styled.div`
background: #000;
display: flex;
min-width: 259px;
min-height: 100vh;
Expand Down
3 changes: 1 addition & 2 deletions apps/old/widget/app/view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ const Container = styled.div`
const Content = styled.div`
width: 100%;
height: 100%;
background: var(--bg-1, #000);
`;

// const Template = config.Template ?? (({children}) => <>{children}</>);
Expand All @@ -91,7 +90,7 @@ return (
{...(config.layout?.props ?? { variant: "standard" })}
blocks={config.blocks}
>
<Content>
<Content className="content">
<Router config={config.router} {...passProps} />
</Content>
</Layout>
Expand Down

0 comments on commit 9a6ed78

Please sign in to comment.