Skip to content

Commit

Permalink
Merge pull request #206 from GnaneshKunal/set-width-1920px
Browse files Browse the repository at this point in the history
Set 1920px as the max-width
  • Loading branch information
mich-elle-luna authored May 14, 2024
2 parents b13dbe0 + 6eec058 commit 9e9d702
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion layouts/commands/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{{ define "main" }}
{{ partial "path-scratch.html" }}
{{ $basePath := .Scratch.Get "path" }}
<main class="docs w-full max-w-[1440px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
<main class="docs w-full max-w-[1920px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
{{ partial "docs-nav-collapsed.html" . }}
<div class="py-12 md:px-4 xl:px-16 overflow-hidden">
{{ partial "breadcrumbs" . }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/commands/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{ define "main" }}
{{ $isModule := isset .Params "module" }}
{{ $component := cond $isModule .Params.module "Redis" }}
<main class="docs w-full max-w-[1440px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
<main class="docs w-full max-w-[1920px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
{{ partial "docs-nav.html" . }}
<div class="py-12 md:pl-4 xl:px-16 overflow-hidden">
{{ partial "breadcrumbs" . }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/develop/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ end }}

{{ define "main" }}
<main class="docs w-full max-w-[1440px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
<main class="docs w-full max-w-[1920px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
{{ partial "docs-nav.html" . }}
<div class="py-12 md:pl-4 xl:px-16 overflow-hidden">
{{ partial "breadcrumbs" . }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/develop/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ end }}

{{ define "main" }}
<main class="docs w-full max-w-[1440px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
<main class="docs w-full max-w-[1920px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
{{ partial "docs-nav.html" . }}
<div class="py-12 md:pl-4 xl:px-16 overflow-hidden">
{{ partial "breadcrumbs" . }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h1 class="text-5xl font-medium">{{ .Title }}</h1>
</div>
</header>
{{ partial "second-header.html" "disabled" }}
<div class="flex flex-col lg:flex-row gap-8 mx-auto px-4 md:px-11 py-6 md:py-28 max-w-[1440px]">
<div class="flex flex-col lg:flex-row gap-8 mx-auto px-4 md:px-11 py-6 md:py-28 max-w-[1920px]">
<div class="lg:sticky lg:top-32 w-full lg:w-64 h-fit lg:h-full shrink-0 text-sm font-mono font-normal">
<nav class="lg:hidden w-full lg:w-64 z-40 bg-white h-fit lg:h-full leading-7">
<div class="border border-opacity-50 border-redis-ink-900 rounded-md flex flex-col">
Expand Down
4 changes: 2 additions & 2 deletions layouts/integrate/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{{ define "main" }}
{{ partial "path-scratch.html" }}
{{ $basePath := .Scratch.Get "path" }}
<main class="docs w-full max-w-[1440px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
<main class="docs w-full max-w-[1920px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
{{ partial "docs-nav-collapsed.html" . }}
<div class="py-12 md:px-4 xl:px-16 overflow-hidden">
{{ partial "breadcrumbs" . }}
Expand Down Expand Up @@ -85,4 +85,4 @@ <h1 class="text-xl leading-tight px-6 py-4">

{{ partial "commands-nav.html" . }}
</main>
{{ end }}
{{ end }}
4 changes: 2 additions & 2 deletions layouts/integrate/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{{ end }}

{{ define "main" }}
<main class="docs w-full max-w-[1440px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
<main class="docs w-full max-w-[1920px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
{{ partial "docs-nav.html" . }}
<div class="py-12 md:pl-4 xl:px-16 overflow-hidden">
{{ partial "breadcrumbs" . }}
Expand Down Expand Up @@ -46,4 +46,4 @@ <h1>{{ .Title }}</h1>
</div>
{{ partial "docs-toc.html" . }}
</main>
{{ end }}
{{ end }}
2 changes: 1 addition & 1 deletion layouts/integration/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{{ end }}

{{ define "main" }}
<main class="docs w-full max-w-[1440px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
<main class="docs w-full max-w-[1920px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
{{ partial "docs-nav.html" . }}
<div class="py-12 md:pl-4 xl:px-16 overflow-hidden">
{{ partial "breadcrumbs" . }}
Expand Down
4 changes: 2 additions & 2 deletions layouts/integration/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{{ end }}

{{ define "main" }}
<main class="docs w-full max-w-[1440px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
<main class="docs w-full max-w-[1920px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
{{ partial "docs-nav.html" . }}
<div class="py-12 md:pl-4 xl:px-16 overflow-hidden">
{{ partial "breadcrumbs" . }}
Expand Down Expand Up @@ -46,4 +46,4 @@ <h1>{{ .Title }}</h1>
</div>
{{ partial "docs-toc.html" . }}
</main>
{{ end }}
{{ end }}
2 changes: 1 addition & 1 deletion layouts/operate/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ end }}

{{ define "main" }}
<main class="docs w-full max-w-[1440px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
<main class="docs w-full max-w-[1920px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
{{ partial "docs-nav.html" . }}
<div class="py-12 md:pl-4 xl:px-16 overflow-hidden">
{{ partial "breadcrumbs" . }}
Expand Down
4 changes: 2 additions & 2 deletions layouts/operate/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ end }}

{{ define "main" }}
<main class="docs w-full max-w-[1440px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
<main class="docs w-full max-w-[1920px] mx-auto px-5 flex flex-col md:flex-row overflow-hidden">
{{ partial "docs-nav.html" . }}
<div class="py-12 md:pl-4 xl:px-16 overflow-hidden">
{{ partial "breadcrumbs" . }}
Expand Down Expand Up @@ -41,4 +41,4 @@ <h1>
</div>
{{ partial "docs-toc.html" . }}
</main>
{{ end }}
{{ end }}
4 changes: 2 additions & 2 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<footer class="h-fit bg-white relative z-40 border border-t-redis-pen-300 text-redis-pen-600 flex justify-center font-mono text-[15px]">
<div class="flex flex-col gap-8 lg:max-w-[1440px] grow">
<div class="flex flex-col gap-8 lg:max-w-[1920px] grow">
<div class="flex flex-col lg:flex-row px-4 pt-8 lg:p-11 justify-between gap-4">
<div class="flex flex-col justify-between grow-[2]">
<a class="relative hover:text-redis-pen-400 w-[82px] mb-7" href="https://redis.io/">
Expand Down Expand Up @@ -80,4 +80,4 @@
</div>
</div>
</div>
</footer>
</footer>

0 comments on commit 9e9d702

Please sign in to comment.