fix: fixed topbar layout style problem and removed padding left 6px

This commit is contained in:
poyrazavsever
2026-07-16 10:15:07 +03:00
parent 5b22323f73
commit 8051dd9915
5 changed files with 1811 additions and 1979 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export function AppShell({ children }: AppShellProps) {
<>
<AtaturkWidgetModal />
{ENABLE_NEKO_FOLLOWER ? <NekoFollower /> : null}
<div className="mx-auto flex w-full max-w-4xl flex-col px-4 py-4 sm:px-6">
<div className="mx-auto flex w-full max-w-4xl flex-col px-4 py-4 ">
<SiteNavbar />
{announcement ? (
<AnnouncementBar
+22 -22
View File
@@ -128,29 +128,29 @@ export function SiteNavbar() {
return (
<Tooltip key={item.id}>
<TooltipTrigger asChild>
<Button
asChild
variant="secondary"
size="icon-sm"
radius="sm"
effect="shine"
aria-label={label}
className={`cursor-pointer ${slowShineClassName}`}
>
<a
href={href}
target={item.id === "cv" || item.external ? "_blank" : undefined}
rel={item.id === "cv" || item.external ? "noreferrer" : undefined}
<TooltipTrigger asChild>
<Button
asChild
variant="secondary"
size="icon-sm"
radius="sm"
effect="shine"
aria-label={label}
className={`cursor-pointer ${slowShineClassName}`}
>
<Icon icon={item.icon} width={16} height={16} />
</a>
</Button>
</TooltipTrigger>
<TooltipContent side="bottom" surface="soft" radius="sm" size="sm">
{label}
</TooltipContent>
</Tooltip>
<a
href={href}
target={item.id === "cv" || item.external ? "_blank" : undefined}
rel={item.id === "cv" || item.external ? "noreferrer" : undefined}
>
<Icon icon={item.icon} width={16} height={16} />
</a>
</Button>
</TooltipTrigger>
<TooltipContent side="bottom" surface="soft" radius="sm" size="sm">
{label}
</TooltipContent>
</Tooltip>
);
})}