Skip to content

Commit 353cb71

Browse files
committed
make nav more flexible for promo
1 parent 2ac320f commit 353cb71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

layouts/partials/nav.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
{{- $backgroundColor := cond .IsHome "bg-dark" "bg-white" -}}
33
{{- $navBorderColor := cond .IsHome "border-transparent" "border-primary" -}}
44
{{- $currentRelPermalink := .RelPermalink -}}
5-
<nav x-init="determineGitHubStargazersCount('{{ .Site.Language.Lang }}')" class="w-full max-h-screen text-{{ $textColor }} fixed lg:px-8 {{ $backgroundColor }} shadow z-50">
6-
<div class="flex justify-between items-stretch w-full">
5+
<nav x-init="determineGitHubStargazersCount('{{ .Site.Language.Lang }}')" class="w-full max-h-screen text-{{ $textColor }} fixed {{ $backgroundColor }} shadow z-50">
6+
<div class="flex justify-between items-stretch w-full lg:px-8">
77
<!-- Regular Navigation -->
88
<div class="flex items-stretch">
99
<!-- Toggle Button for Smartphone Navigation -->

0 commit comments

Comments
 (0)