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/%7B%60%24%7BrepoUrl%7D/blob/master/docs/%7BrepoUrl%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()}
+
+ + ); }