From: Jay Sitter Date: Sat, 17 Jun 2023 18:24:13 +0000 (-0400) Subject: fix: Add .accordion wrapper around sidebar to obtain negative bottom margin X-Git-Url: http://these/git/%22/display/44b525e5-4101b003e005e70a-d472d963/static/%7Bthis.state.post.url%7D?a=commitdiff_plain;h=878e0f0f85d078b5e7ee09d738ef9f39d253a224;p=lemmy-ui.git fix: Add .accordion wrapper around sidebar to obtain negative bottom margin --- diff --git a/src/shared/components/home/site-sidebar.tsx b/src/shared/components/home/site-sidebar.tsx index 283ddf8..b09f27d 100644 --- a/src/shared/components/home/site-sidebar.tsx +++ b/src/shared/components/home/site-sidebar.tsx @@ -29,25 +29,27 @@ export class SiteSidebar extends Component { render() { return ( -
-
- {this.siteName()} - {!this.state.collapsed && ( - - )} -
- -
+
-
{this.siteInfo()}
-
-
+
+ {this.siteName()} + {!this.state.collapsed && ( + + )} +
+ +
+
{this.siteInfo()}
+
+ + ); }