chore: tweak padding

This commit is contained in:
Steven
2023-12-19 21:44:40 +08:00
parent 6290234ad1
commit b575064d47
13 changed files with 17 additions and 17 deletions

View File

@ -4,7 +4,7 @@ import UsageHeatMap from "./UsageHeatMap";
const HomeSidebar = () => {
return (
<aside className="relative w-full pr-2 h-full max-h-screen overflow-auto hide-scrollbar flex flex-col justify-start items-start py-4">
<aside className="relative w-full pr-2 h-full max-h-screen overflow-auto hide-scrollbar flex flex-col justify-start items-start py-4 sm:pt-6">
<div className="px-4 pr-8 mb-4 w-full">
<SearchBar />
</div>

View File

@ -98,9 +98,9 @@ const Navigation = () => {
: [exploreNavLink, signInNavLink];
return (
<header className="w-full h-full overflow-auto flex flex-col justify-start items-start py-4 z-30">
<header className="w-full h-full overflow-auto flex flex-col justify-start items-start py-4 sm:pt-6 z-30">
<UserBanner />
<div className="w-full px-2 py-2 flex flex-col justify-start items-start shrink-0 space-y-2">
<div className="w-full px-1 py-2 flex flex-col justify-start items-start shrink-0 space-y-2">
{navLinks.map((navLink) => (
<NavLink
key={navLink.id}

View File

@ -33,7 +33,7 @@ const UserBanner = () => {
};
return (
<div className="relative w-full h-auto px-2 shrink-0">
<div className="relative w-full h-auto px-1 shrink-0">
<Dropdown
className="w-auto"
trigger={