Skip to content

Commit

Permalink
docs: fix i18n of mobile navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Renovamen committed Feb 26, 2021
1 parent f4dec9b commit bee1e72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 4 additions & 6 deletions docs/components/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
>
<ul class="nav-links mt-16 pb-2 text-base border-b border-solid sm:hidden">
<li>
<NuxtLink to="/">
Icons
<NuxtLink :to="localePath('index')">
{{ $t("nav.icons") }}
</NuxtLink>
</li>
<li>
<NuxtLink to="/docs">
Docs
<NuxtLink :to="localePath('docs')">
{{ $t("nav.docs") }}
</NuxtLink>
</li>
<li>
Expand Down Expand Up @@ -115,9 +115,7 @@ export default {
.sidebar .toolbar {
@apply relative border-none w-auto h-auto pt-0 pb-8;
}
</style>
<style>
.sidebar::-webkit-scrollbar {
display: none;
}
Expand Down
2 changes: 0 additions & 2 deletions docs/components/ToolSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,7 @@ export default {
.dark-mode .toolbar button.clicked {
@apply bg-gray-600 text-gray-300;
}
</style>
<style>
.toolbar .icon-color input {
width: 8.5rem;
height: 2.65rem;
Expand Down

1 comment on commit bee1e72

@vercel
Copy link

@vercel vercel bot commented on bee1e72 Feb 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.