Skip to content

Commit

Permalink
style(docs): fix overflow, text colors and mobile nav
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondmuller committed May 8, 2024
1 parent 3ff1ba5 commit 7d61979
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/docs/.vitepress/theme/components/Logo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
</script>

<template>
<a href="/docs/introduction" class="mr-4 md:mr-2 lg:mr-6 flex items-center lg:space-x1 xl:space-x-2">
<a href="/docs/introduction" class="mr-4 md:mr-2 lg:mr-6 flex items-center space-x-3">
<img src="https://assets-global.website-files.com/6347244ba8d63489ba51c08e/6347244ba8d63469e851c0d6_footer%20small%20logo.svg" alt="Lemon Squeezy Logo">

<span class="font-sans text-2xl font-medium text-white md:block">
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/.vitepress/theme/components/MobileNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const open = ref(false);
<SheetTrigger as-child>
<Button
variant="ghost"
class="flex-shrink-0 px-2 mr-2 text-base hover:bg-transparent focus-visible:bg-transparent focus-visible:ring-0 focus-visible:ring-offset-0 md:hidden"
class="text-white/70 flex-shrink-0 px-2 mr-2 text-base hover:bg-transparent focus-visible:bg-transparent focus-visible:ring-0 focus-visible:ring-offset-0 md:hidden"
>
<svg
strokeWidth="1.5"
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/.vitepress/theme/layout/MainLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ watch(() => $route.path, (_) => {

<div>
<nav
class="flex items-center space-x-6 text-sm font-medium max-lg:space-x-4"
class="hidden md:flex items-center space-x-6 text-sm font-medium max-lg:space-x-4"
>
<a
v-for="route in docsConfig.mainNav"
Expand Down Expand Up @@ -126,7 +126,7 @@ watch(() => $route.path, (_) => {
v-for="link in links"
:key="link.name"
as="a"
class="w-9 h-9"
class="w-9 h-9 text-white/70"
:href="link.href" target="_blank"
variant="link"
size="xs-icon"
Expand Down

0 comments on commit 7d61979

Please sign in to comment.