Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vuejs/vitepress
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.0-alpha.23
Choose a base ref
...
head repository: vuejs/vitepress
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.0-alpha.24
Choose a head ref
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Oct 25, 2022

  1. Copy the full SHA
    028cc2c View commit details
  2. release: v1.0.0-alpha.24

    brc-dd committed Oct 25, 2022
    Copy the full SHA
    88f4359 View commit details
Showing with 18 additions and 4 deletions.
  1. +9 −0 CHANGELOG.md
  2. +1 −1 package.json
  3. +7 −3 src/client/theme-default/components/VPContent.vue
  4. +1 −0 src/client/theme-default/components/VPLocalNav.vue
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# [1.0.0-alpha.24](https://github.com/vuejs/vitepress/compare/v1.0.0-alpha.23...v1.0.0-alpha.24) (2022-10-25)


### Bug Fixes

* **banner:** broken layout on smaller viewports ([#1536](https://github.com/vuejs/vitepress/issues/1536)) ([028cc2c](https://github.com/vuejs/vitepress/commit/028cc2c76e540c595e55a399606701490afd4beb))



# [1.0.0-alpha.23](https://github.com/vuejs/vitepress/compare/v1.0.0-alpha.22...v1.0.0-alpha.23) (2022-10-25)


2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vitepress",
"version": "1.0.0-alpha.23",
"version": "1.0.0-alpha.24",
"description": "Vite & Vue powered static site generator",
"type": "module",
"packageManager": "pnpm@7.9.2",
10 changes: 7 additions & 3 deletions src/client/theme-default/components/VPContent.vue
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@ const NotFound = inject('NotFound')
.VPContent {
flex-grow: 1;
flex-shrink: 0;
margin: 0 auto;
margin: var(--vp-layout-top-height, 0px) auto 0;
width: 100%;
}
@@ -61,13 +61,17 @@ const NotFound = inject('NotFound')
max-width: 100%;
}
.VPContent.has-sidebar {
margin: 0;
}
@media (min-width: 960px) {
.VPContent {
padding-top: calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px));
padding-top: var(--vp-nav-height);
}
.VPContent.has-sidebar {
margin: 0;
margin: var(--vp-layout-top-height, 0px) 0 0;
padding-left: var(--vp-sidebar-width);
}
}
1 change: 1 addition & 0 deletions src/client/theme-default/components/VPLocalNav.vue
Original file line number Diff line number Diff line change
@@ -48,6 +48,7 @@ function scrollToTop() {
width: 100%;
background-color: var(--vp-c-bg);
transition: border-color 0.5s, background-color 0.5s;
margin-top: var(--vp-layout-top-height, 0px);
}
@media (min-width: 960px) {