Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
colegoldsmith committed May 15, 2024
1 parent 88203ff commit ce635a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/partials/nav-tree.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<span
class="nav-text flex items-center text-left gap-1 text-body-small text-primary rounded py-1 px-2 hover:bg-level2 transition-colors
{{~#if ./items.length}} text-caption{{~/if}}
{{~#if (eq (or ../level 0) 0)}} text-overline py-2{{~/if}}
{{~#if (eq (or ../level 0) 0)}}{{~#if ./items.length}} text-overline py-2{{~/if}}{{~/if}}
{{~#if (eq ./url @root.page.url)}} color-primary font-semibold{{~/if}}
{{~#if (greater (or ../level 0) 1)}} text-tertiary{{~/if}}">
{{{./content}}}
Expand Down
2 changes: 1 addition & 1 deletion src/partials/nav.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
data-version="{{page.version}}"
{{~/if}}
id="side-nav"
class="h-full bg-level1 overflow-y-scroll flex flex-col w-[18.5rem] pt-4 px-2">
class="h-full bg-level1 overflow-y-scroll flex flex-col w-[18.5rem] p-2">
{{> page-versions page=../page}}
{{#with @root.page.componentVersion}}
<a class="p-2 mb-1 text-h4 hover:bg-level2 rounded transition-colors !no-underline" href="{{{relativize ./url}}}">{{./title}}</a>
Expand Down

0 comments on commit ce635a2

Please sign in to comment.