Skip to content

Commit

Permalink
design issue
Browse files Browse the repository at this point in the history
  • Loading branch information
flovntp committed Feb 4, 2025
1 parent c4a88eb commit 6dff25b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/psh-docs/layouts/partials/page-content.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ <h3 class="pt-4 pb-2 font-light text-base text-slate">On this page</h3>
{{ end }}

<!-- Add a Button to open the Markdown version of this page (Upsun only) -->
{{ if ( eq .Site.Params.vendor.config.version 2 ) }}
<div class="border border-stone border-t-0 px-6 pt-10 pb-4 mb-8 md:mb-0 bottom-0 text-sm [&_a]:text- hover:[&_a]:underline focus:[&_a]:underline [&_ul_ul]:pl-4">
{{ if ( eq .context.Site.Params.vendor.config.version 2 ) }}
<div class="justify-start border border-stone border-t-0 px-4 pt-10 pb-4 mb-12 md:mb-0 bottom-0 text-sm [&_a]:text- hover:[&_a]:underline focus:[&_a]:underline [&_ul_ul]:pl-4">
<a href="{{ if eq .context.Page.RelPermalink "/" }}/index.md{{ else }}{{ .context.Page.RelPermalink | replaceRE ".html" ".md" }}{{ end }}"
class="px-6 py-2 bg-[#6046FF] hover:!bg-[#4D38CC] rounded-3xl text-white text-center text-sm font-semibold"
title="View this page in a Markdown format"
Expand Down

0 comments on commit 6dff25b

Please sign in to comment.