Skip to content

Commit

Permalink
fix: multiple regressions (#516)
Browse files Browse the repository at this point in the history
* fix: margins for docs content

* fix: multiple issues
  • Loading branch information
bdrtsky authored Jun 28, 2021
1 parent 998a768 commit 2daee98
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 29 deletions.
28 changes: 2 additions & 26 deletions docs/components/AppFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,7 @@
aria-label="NuxtJS"
href="https://nuxtjs.org"
target="_blank"
class="
text-sm
flex
items-center
font-medium
p-1
text-gray-500
transition-colors
duration-200
dark:text-gray-500
hover:text-gray-700
dark:hover:text-gray-400
"
class="text-sm flex items-center font-medium p-1 d-icon"
>
<IconNuxt class="w-5 h-5" />
</a>
Expand All @@ -47,19 +35,7 @@
aria-label="Vue Telescope"
href="https://vuetelescope.com"
target="_blank"
class="
text-sm
flex
items-center
font-medium
p-1
text-gray-500
transition-colors
duration-200
dark:text-gray-500
hover:text-gray-700
dark:hover:text-gray-400
"
class="text-sm flex items-center font-medium p-1 d-icon"
>
<IconVueTelescope class="w-5 h-5" />
</a>
Expand Down
1 change: 1 addition & 0 deletions docs/content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: >-
Write pages in markdown, use Vue components, add style with Windi CSS and
enjoy the power of Nuxt with a blazing fast developer experience.
template: page
layout.fluid: true
navigation: false
layout.asideClass: 'block lg:hidden'
layout.aside: true
Expand Down
2 changes: 1 addition & 1 deletion src/defaultTheme/components/organisms/PageContent.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<slot name="mobile-toc" />
<div class="px-4 sm:px-6 mt-4">
<div class="px-4 sm:px-6 mt-4 xl:mt-0">
<DocusContent :document="page" class="docus-content" />
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/defaultTheme/components/organisms/app/AppPage.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="flex flex-col w-full pt-0 xl:flex-row xl:pt-10">
<article class="flex-auto order-last min-w-0 mt-4 xl:order-first xl:mt-0">
<article class="flex-auto order-last min-w-0 mt-0 xl:order-first xl:mt-0">
<slot />
<div v-if="$scopedSlots['prev-next']" class="px-4 sm:px-6">
<hr class="mt-10 mb-8 border-t d-border" />
Expand Down
2 changes: 1 addition & 1 deletion src/defaultTheme/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const defaultThemeSettings = {
'd-blur-header': 'blur-12',
'd-bg-header': 'bg-white bg-opacity-80 dark:bg-gray-900 dark:bg-opacity-80',
'd-border': 'light:border-gray-200 light:border-opacity-50 dark:border-gray-800',
'd-border-hover': 'border-primary-200 dark:border-secondary-dark',
'd-border-hover': 'border-primary-200 dark:border-gray-700',
'd-border-header': 'border-b border-gray-200 dark:border-gray-800 border-opacity-50',
'd-header': 'sticky w-full top-0 z-50 d-bg-header d-border-header d-blur-header h-header',
// Heading
Expand Down

0 comments on commit 2daee98

Please sign in to comment.