mirror of
https://github.com/ershisan99/DevToysWeb.git
synced 2026-02-04 12:34:38 +00:00
refactor: simplify some markups and styles
This commit is contained in:
@@ -7,12 +7,12 @@ import { ToolGroups } from "./sidebar/tool-groups";
|
||||
|
||||
export function Sidebar() {
|
||||
return (
|
||||
<nav className="flex w-72 flex-col">
|
||||
<nav className="flex flex-col overflow-y-auto">
|
||||
<div className="mt-px px-4">
|
||||
<SearchBar />
|
||||
</div>
|
||||
<div className="flex-1 overflow-y-auto">
|
||||
<div className="mb-2 mt-4 px-2">
|
||||
<div className="mt-2 p-2">
|
||||
<AllTools />
|
||||
</div>
|
||||
<Separator />
|
||||
@@ -21,7 +21,7 @@ export function Sidebar() {
|
||||
</div>
|
||||
</div>
|
||||
<Separator />
|
||||
<div className="justify-end p-2">
|
||||
<div className="p-2">
|
||||
<Settings />
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user