Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
b3c4919
docs: include vite-plugin-inspect in troubleshooting page (#14085)
userquin Aug 14, 2023
9b4dc24
docs: include outline and code-group (#14082)
userquin Aug 14, 2023
6f6c491
docs(en): merging all conflicts
docschina-bot Aug 14, 2023
0ffa621
docs(cn): resolve conflicts
waynzh Aug 15, 2023
02556cc
Merge pull request #808 from vitejs/sync-9b4dc24a-1
waynzh Aug 15, 2023
a510487
feat!: bump minimum node version to 18 (#14030)
bluwy Aug 15, 2023
57e5d40
refactor!: merge `PreviewServerForHook` into `PreviewServer` type (#1…
sapphi-red Aug 16, 2023
d0e001f
docs: clarify when `import.meta.env.PROD` is `true` (#14124)
sapphi-red Aug 16, 2023
2610c70
docs(en): merging all conflicts
docschina-bot Aug 16, 2023
64de781
docs(cn): resolve conflicts
waynzh Aug 17, 2023
a5ad96b
Merge pull request #810 from vitejs/sync-d0e001fa-1
waynzh Aug 17, 2023
4d5e3e8
docs: update esbuild link (#14154)
MrBrN197 Aug 18, 2023
e0b54f7
docs: add example for mergeConfig with a config in callback form (#14…
vinassefranche Aug 18, 2023
c1acfab
docs: fix typo in cli.md (#14072)
Antanasici Aug 18, 2023
3fe3a94
docs(en): merging all conflicts
docschina-bot Aug 18, 2023
b29b056
docs(cn): resolve conflicts
waynzh Aug 21, 2023
5a62d5b
Merge pull request #811 from vitejs/sync-c1acfab8-1
waynzh Aug 21, 2023
ff74018
chore: use "kB" everywhere with the correct definition (#14061)
naruaway Aug 21, 2023
fa945bd
feat: copyPublicDir out of experimental (#14051)
patak-dev Aug 21, 2023
1aad300
docs(backend-integration): add react refresh url note (#14020)
TimDaub Aug 23, 2023
8944e1d
docs(library-mode): add advanced usage warning (#14168)
bluwy Aug 24, 2023
05c6fef
docs(en): merging all conflicts
docschina-bot Aug 24, 2023
3fe1e18
docs(cn): resolve conflicts
waynzh Aug 25, 2023
c25dccc
Merge pull request #816 from vitejs/sync-8944e1d1-1
waynzh Aug 25, 2023
f8895ef
docs: remove npm@6 commands (#14240)
sapphi-red Aug 30, 2023
e5c3034
docs: update the proxy options link (#14259)
btea Sep 2, 2023
44b04bc
docs: detect Bun package manager in `create-vite` (#14017)
colinhacks Sep 3, 2023
684fbdd
docs(en): merging all conflicts
docschina-bot Sep 3, 2023
105ecf7
feat: export `server.bindCLIShortcuts` (#13675)
deot Sep 4, 2023
adfbd7e
docs(cn): resolve all conflicts
ShenQingchuan Sep 4, 2023
c3e8f44
Merge pull request #818 from vitejs/sync-44b04bc2-1
ShenQingchuan Sep 4, 2023
3c69a75
chore(docs): `api-plugin` and `features` apply outline deep (#14282)
btea Sep 10, 2023
f1ab3fa
docs(en): merging all conflicts
docschina-bot Sep 10, 2023
f3a27d5
Update api-plugin.md
ShenQingchuan Sep 14, 2023
afc84c5
Update features.md
ShenQingchuan Sep 14, 2023
1ced18a
Merge pull request #821 from vitejs/sync-3c69a750-1
ShenQingchuan Sep 14, 2023
4efd3ef
refactor(docs): use unified outline config (#14368)
btea Sep 14, 2023
c0710fd
docs: update about CSS default exports
sapphi-red Aug 19, 2023
271bcc0
feat: build.ssrEmitAssets out of experimental (#14055)
patak-dev Sep 15, 2023
b8ba9e0
docs: update wrangler command (#14393)
camsteffen Sep 17, 2023
db5679b
refactor: remove CJS ssr output format (#13944)
patak-dev Sep 17, 2023
36cc216
docs(en): merging all conflicts
docschina-bot Sep 17, 2023
a7ed3c5
docs: use extends instead of spreading default theme (#14403)
sapphi-red Sep 18, 2023
8052801
fix!: put manifest files in .vite directory by default (#14230)
sapphi-red Sep 18, 2023
e640a9a
docs(cn): resolve conflicts
waynzh Sep 18, 2023
87e85b1
docs(cn): remove redundant items
waynzh Sep 18, 2023
ea443a4
Merge pull request #824 from vitejs/sync-db5679bb-1
waynzh Sep 18, 2023
7485fe7
fix(deps): update all non-major dependencies (#14092)
renovate[bot] Sep 19, 2023
27a6838
feat: allow passing down "null" to disable server watcher (#14208)
sheremet-va Sep 19, 2023
505a8cf
docs(en): merging all conflicts
docschina-bot Sep 19, 2023
05bd153
docs(cn): resolve conflicts
waynzh Sep 21, 2023
978f7ed
Merge pull request #826 from vitejs/sync-27a68382-1
waynzh Sep 21, 2023
10f1d59
feat!: deprecate cjs node api (#14278)
bluwy Sep 21, 2023
bfb923b
docs: update server.watch info (#14469)
bluwy Sep 25, 2023
f4133b7
feat(terser): add `maxWorkers` option for terserOptions (#13858)
sangquangnguyen Sep 28, 2023
ef6be16
docs: v4 to v5 migration guide (#14343)
sapphi-red Sep 30, 2023
0ec0741
feat(ssr): support for ssr.resolve.conditions and ssr.resolve.externa…
Oct 5, 2023
20c69af
docs: redirect vite.dev to vitejs.dev
yyx990803 Oct 6, 2023
883d97e
docs: fix typo (#14554)
Gumball12 Oct 9, 2023
d290b8f
docs: update wrangler command (#14555)
Gumball12 Oct 9, 2023
111201f
docs: fix resolveDependencies signature (#14562)
patak-dev Oct 9, 2023
dbe13d0
docs(prebundling): remove uncertain warning (#14586)
bluwy Oct 11, 2023
32fdb0a
feat: add off method to ViteHotContext (issue #14185) (#14518)
vincer2040 Oct 11, 2023
e8594c3
fix!: return 404 for resources requests outside the base path (#5657)
Artur- Oct 12, 2023
97a5ffe
docs(en): merging all conflicts
docschina-bot Oct 12, 2023
5c271e9
docs(cn): fix conflicts
ShenQingchuan Oct 13, 2023
0996a43
Merge pull request #838 from vitejs/sync-e8594c3f-1
ShenQingchuan Oct 13, 2023
5743e9c
Merge branch 'main' into dev
ShenQingchuan Oct 13, 2023
5b1f101
refactor!: remove `resolvePackageEntry` and `resolvePackageData` APIs…
bluwy Oct 13, 2023
6dfbb91
refactor!: remove exporting internal APIs (#14583)
bluwy Oct 13, 2023
68b7694
docs: change https://polyfill.io/v3/ to https://polyfill.io/ (#14622)
Cqqgyh Oct 14, 2023
a9f7d10
docs(ssr): update example projects (#14630)
bluwy Oct 16, 2023
e51f1cf
feat: add server.warmup option (#14291)
bluwy Oct 16, 2023
c763633
feat!: rollup v4 (#14508)
sapphi-red Oct 17, 2023
06b71e0
docs(migration): fix troubleshooting link (#14680)
bluwy Oct 18, 2023
2abf9f2
refactor!: remove https flag (#14681)
sapphi-red Oct 18, 2023
ab27b84
feat: postcss config `.cts` support (#14660)
sapphi-red Oct 19, 2023
dfb82a1
fix!: worker.plugins is a function (#14685)
patak-dev Oct 19, 2023
09e3b8e
feat!: remove ssr proxy for externalized modules (#14521)
bluwy Oct 19, 2023
d3b36ac
docs: remove ViteConf 23 CTA and add a link in Resources (#14736)
patak-dev Oct 23, 2023
34dc4ad
fix(resolve)!: remove special .mjs handling (#14723)
bluwy Oct 23, 2023
6615262
docs: add performance page (#14693)
bluwy Oct 23, 2023
ac74c57
docs(en): merging all conflicts
docschina-bot Oct 23, 2023
ce8725b
docs(static-deploy): bump gh-pages action to v2 (#14740)
GabsEdits Oct 24, 2023
e41db38
docs(cn): resolve conflicts
waynzh Oct 24, 2023
2473614
docs(cn): add translation
waynzh Oct 24, 2023
2bd739b
Merge pull request #846 from vitejs/sync-66152620-1
waynzh Oct 24, 2023
26ee3d4
feat(resolve)!: remove `resolve.browserField` (#14733)
bluwy Oct 24, 2023
0844fe9
feat(define): handle replacement with esbuild (#11151)
bluwy Oct 26, 2023
ebcc5fb
docs(static-deploy): bump version of actions/checkout and actions/upl…
DaleSeo Oct 26, 2023
569781e
docs(en): merging all conflicts
docschina-bot Oct 26, 2023
2d3c234
docs(cn): resolve conflicts
waynzh Oct 27, 2023
f16c133
docs(cn): format
waynzh Oct 27, 2023
488c087
Merge pull request #850 from vitejs/sync-ebcc5fbe-1
waynzh Oct 27, 2023
8f6444c
refactor!: remove non boolean middleware mode (#14792)
sapphi-red Oct 30, 2023
b5c9aa0
fix(html)!: align html serving between dev and preview (#14756)
bluwy Oct 30, 2023
2a89f1c
refactor(esbuild)!: remove esbuild 0.17 -> 0.18 compat (#14804)
bluwy Oct 30, 2023
2f7b0b6
docs: add links to migration guide (#14830)
sapphi-red Oct 31, 2023
2a6e821
docs: remove boolean from `server.https` (#14832)
sapphi-red Oct 31, 2023
416862e
docs: remix sponsor logo
yyx990803 Nov 1, 2023
4d817e5
docs: update stale `define` docs (#14831)
sapphi-red Nov 1, 2023
a7afdae
docs: explain intended usage of `import.meta.hot.data` (#14817)
hi-ogawa Nov 1, 2023
5802efb
docs: avoid importing large deps (#14828)
sapphi-red Nov 1, 2023
28e69ed
refactor(preview)!: use base middleware (#14818)
bluwy Nov 2, 2023
cb28b1f
feat!: add isPreview to ConfigEnv and resolveConfig (#14855)
bluwy Nov 3, 2023
573786a
docs(en): merging all conflicts
docschina-bot Nov 3, 2023
bce371d
docs(cn): resolve all conflicts.
ShenQingchuan Nov 4, 2023
57eae6d
Merge pull request #855 from vitejs/sync-cb28b1ff-1
ShenQingchuan Nov 4, 2023
cc63965
docs(migration): tweak wordings (#14876)
bluwy Nov 5, 2023
4370c65
docs: add Kinsta deployment guide (#14755)
palmiak Nov 6, 2023
2da060f
docs: add #14834 to migration guide (#14889)
sapphi-red Nov 6, 2023
693b30b
docs(en): merging all conflicts
docschina-bot Nov 6, 2023
51753d7
docs(cn): resolve conflicts
waynzh Nov 7, 2023
aa25d8b
Merge pull request #857 from vitejs/sync-2da060f4-1
waynzh Nov 7, 2023
21a5065
docs: 🇩🇪 added german locale link to config.ts; (#14724)
rojadesign Nov 7, 2023
4ef681f
docs: add note about complex env based replacement (#14899)
patak-dev Nov 7, 2023
deb9fe7
feat(hmr): improve circular import updates (#14867)
bluwy Nov 8, 2023
8ad9f25
docs: clarify origin part of `base` is not used in dev (#14907)
sapphi-red Nov 8, 2023
39f5285
docs(ssr): properly handle vite.middlewares after restart (#14917)
patak-dev Nov 9, 2023
5bb79d0
docs: note skipLibCheck (#14932)
bluwy Nov 10, 2023
3fa6027
docs: update library mode env var tip (#14935)
bluwy Nov 10, 2023
0ef84f2
docs: add mastodon link to sapphi-red (#14940)
sapphi-red Nov 10, 2023
588f0f9
docs: Shinigami92 from X to Mastodon (#14941)
Shinigami92 Nov 10, 2023
92fd640
docs: add v4.vitejs.dev link to nav bar (#14939)
sapphi-red Nov 10, 2023
af2f106
docs(performance): use lesser or native tooling section (#14874)
ArnaudBarre Nov 10, 2023
e4d2400
docs: add back link to ViteConf replay (#14972)
patak-dev Nov 13, 2023
216a5b6
docs: explain node_env and modes (#14978)
bluwy Nov 14, 2023
f249faf
docs(performance): fix barrel file section (#14983)
jay-es Nov 14, 2023
1d1cfe7
docs: update static-deploy.md to support custom domains with GitHub P…
mark-mxwl Nov 14, 2023
7b70370
docs: adjust sponsor logo
yyx990803 Nov 14, 2023
cdc7fd1
feat: allow providing parent httpServer on middleware mode (#14632)
antfu Nov 15, 2023
a034dea
docs: improve why not bundle with esbuild (#14998)
patak-dev Nov 16, 2023
948098c
docs: vite 5 announcement blog post (#14860)
patak-dev Nov 16, 2023
80b75c1
docs: dev vs build target (#14997)
patak-dev Nov 16, 2023
17faadd
docs: remove Vite 5 feedback discussion note (#15008)
patak-dev Nov 16, 2023
b33580a
docs: add blog index page
yyx990803 Nov 17, 2023
3a738c4
docs: temporary css fix for blog index
yyx990803 Nov 17, 2023
17154cd
docs: update vite 5 blog grammar (#15014)
frankkepler Nov 17, 2023
3a58a4e
docs(troubleshooting): note config mts extension (#15017)
bluwy Nov 17, 2023
48d9369
fix: update type CSSModulesOptions interface (#14987)
psychobolt Nov 17, 2023
7c0fcb2
docs: indirect use vite.middlewares in example (#15020)
patak-dev Nov 17, 2023
8b72e23
docs: add a note about `moduleResolution` for rollup 4 (#15023)
sapphi-red Nov 17, 2023
cf35b96
docs(en): merging all conflicts
docschina-bot Nov 17, 2023
9d40428
docs(cn): resolve all conflicts
ShenQingchuan Nov 19, 2023
2658a92
Merge pull request #867 from vitejs/sync-8b72e230-1
ShenQingchuan Nov 19, 2023
c384079
Merge branch 'main' into dev
ShenQingchuan Nov 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
136 changes: 104 additions & 32 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,65 @@
import { defineConfig } from 'vitepress'
import renderPermaLink from './render-perma-link'
import MarkDownItCustomAnchor from './markdown-it-custom-anchor'

const ogDescription = 'Next Generation Frontend Tooling'
const ogImage = 'https://vitejs.dev/og-image.png'
const ogTitle = 'Vite'
const ogUrl = 'https://vitejs.dev'

// netlify envs
const deployURL = process.env.DEPLOY_PRIME_URL || ''
const commitRef = process.env.COMMIT_REF?.slice(0, 8) || 'dev'

const deployType = (() => {
switch (deployURL) {
case 'https://main--vite-docs-main.netlify.app':
return 'main'
case '':
return 'local'
default:
return 'release'
}
})()
const additionalTitle = ((): string => {
switch (deployType) {
case 'main':
return ' (main branch)'
case 'local':
return ' (local)'
case 'release':
return ''
}
})()
const versionLinks = ((): DefaultTheme.NavItemWithLink[] => {
const oldVersions: DefaultTheme.NavItemWithLink[] = [
{
text: 'Vite 4 Docs',
link: 'https://v4.vitejs.dev',
},
{
text: 'Vite 3 Docs',
link: 'https://v3.vitejs.dev',
},
{
text: 'Vite 2 Docs',
link: 'https://v2.vitejs.dev',
},
]

switch (deployType) {
case 'main':
case 'local':
return [
{
text: 'Vite 5 Docs (release)',
link: 'https://vitejs.dev',
},
...oldVersions,
]
case 'release':
return oldVersions
}
})()

export default defineConfig({
title: 'Vite 官方中文文档',
description: '下一代前端工具链',
Expand Down Expand Up @@ -40,6 +93,7 @@ export default defineConfig({
es: { label: 'Español', link: 'https://es.vitejs.dev' },
pt: { label: 'Português', link: 'https://pt.vitejs.dev' },
ko: { label: '한국어', link: 'https://ko.vitejs.dev' },
de: { label: 'Deutsch', link: 'https://de.vitejs.dev' },
},

themeConfig: {
Expand All @@ -51,7 +105,8 @@ export default defineConfig({
},

outline: {
label: '本页目录'
label: '本页目录',
level: [2, 3],
},

socialLinks: [
Expand Down Expand Up @@ -127,31 +182,44 @@ export default defineConfig({
text: '相关链接',
items: [
{ text: 'Team', link: '/team' },
{ text: 'Blog', link: '/blog' },
{ text: 'Releases', link: '/releases' },
{
text: 'Twitter',
link: 'https://twitter.com/vite_js'
},
{
text: 'Discord Chat',
link: 'https://chat.vitejs.dev'
},
{
text: 'Awesome Vite',
link: 'https://github.com/vitejs/awesome-vite'
},
{
text: 'Dev.to 社区',
link: 'https://dev.to/t/vite'
items: [
{
text: 'Twitter',
link: 'https://twitter.com/vite_js',
},
{
text: 'Discord 聊天室',
link: 'https://chat.vitejs.dev'
},
{
text: 'Awesome Vite',
link: 'https://github.com/vitejs/awesome-vite'
},
{
text: 'ViteConf',
link: 'https://viteconf.org',
},
{
text: 'Dev.to 社区',
link: 'https://dev.to/t/vite'
},
{
text: 'Rollup 插件兼容',
link: 'https://vite-rollup-plugins.patak.dev/'
},
{
text: '更新日志',
link: 'https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md'
},
{
text: '贡献指南',
link: 'https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md',
},
],
},
{
text: 'Rollup 插件兼容',
link: 'https://vite-rollup-plugins.patak.dev/'
},
{
text: '更新日志',
link: 'https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md'
}
]
},
{
Expand Down Expand Up @@ -230,12 +298,16 @@ export default defineConfig({
text: '故障排除',
link: '/guide/troubleshooting'
},
{
text: '性能',
link: '/guide/performance',
},
{
text: '理念',
link: '/guide/philosophy',
},
{
text: '从 v3 迁移',
text: '从 v4 迁移',
link: '/guide/migration'
},
],
Expand Down Expand Up @@ -296,11 +368,11 @@ export default defineConfig({
},
{
text: 'Worker 选项',
link: '/config/worker-options'
}
]
}
]
}
link: '/config/worker-options',
},
],
},
],
},
},
})
18 changes: 10 additions & 8 deletions .vitepress/theme/components/AsideSponsors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,16 @@ const sponsors = computed(() => {
</script>

<template>
<a class="viteconf" href="https://viteconf.org/23" target="_blank">
<a
class="viteconf"
href="https://viteconf.org/23/replay?utm=vite-sidebar"
target="_blank"
>
<img width="22" height="22" src="/viteconf.svg" />
<span>
<p class="extra-info">Free Online Conference</p>
<p class="heading">ViteConf 23 - Oct 5</p>
<p class="extra-info">Get your ticket now!</p>
<p class="extra-info">Beyond Fast</p>
<p class="heading">ViteConf 2023</p>
<p class="extra-info">Watch the replay!</p>
</span>
</a>
<VPDocAsideSponsors v-if="data" :data="sponsors" />
Expand All @@ -34,7 +38,6 @@ const sponsors = computed(() => {
margin-top: 1rem;
margin-bottom: 1rem;
border-radius: 14px;
padding-left: 2.5rem;
padding-top: 0.4rem;
padding-bottom: 0.4rem;
position: relative;
Expand All @@ -44,7 +47,8 @@ const sponsors = computed(() => {
display: flex;
align-items: center;
justify-content: center;
gap: 0.75rem;
width: 100%;
gap: 1rem;
background-color: var(--vp-c-bg-alt);
border: 2px solid var(--vp-c-bg-alt);
transition: border-color 0.5s;
Expand All @@ -53,8 +57,6 @@ const sponsors = computed(() => {
border: 2px solid var(--vp-c-brand-light);
}
.viteconf img {
position: absolute;
left: 1.5rem;
transition: transform 0.5s;
transform: scale(1.25);
}
Expand Down
46 changes: 46 additions & 0 deletions .vitepress/theme/components/BlogIndex.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<script setup lang="ts">
import { data as posts } from './blog.data'

function getDateTime(time: number) {
return new Date(time).toISOString()
}
</script>

<template>
<ul class="blog-list">
<li class="blog-entry" v-for="post of posts">
<article>
<time :datetime="getDateTime(post.date.time)">{{
post.date.string
}}</time>
<h2 class="title">
<a :href="post.url">{{ post.title }}</a>
</h2>
</article>
</li>
</ul>
</template>

<style scoped>
.blog-list {
list-style-type: none;
padding: 0;
}
.blog-entry {
margin-top: 3em;
border-bottom: 1px solid var(--vp-c-divider);
}
.blog-entry time {
font-size: 14px;
}
.title {
border: none;
margin-top: 0;
padding-top: 0;
font-size: 22px;
}
.title a {
font-weight: 600;
text-decoration: none;
}
</style>
40 changes: 40 additions & 0 deletions .vitepress/theme/components/blog.data.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import { createContentLoader } from 'vitepress'

interface Post {
title: string
url: string
date: {
time: number
string: string
}
}

declare const data: Post[]
export { data }

export default createContentLoader('blog/*.md', {
// excerpt: true,
transform(raw): Post[] {
return raw
.map(({ url, frontmatter }) => ({
title: frontmatter.head.find((e) => e[1].property === 'og:title')[1]
.content,
url,
date: formatDate(frontmatter.date),
}))
.sort((a, b) => b.date.time - a.date.time)
},
})

function formatDate(raw: string): Post['date'] {
const date = new Date(raw)
date.setUTCHours(12)
return {
time: +date,
string: date.toLocaleDateString('en-US', {
year: 'numeric',
month: 'long',
day: 'numeric',
}),
}
}
9 changes: 8 additions & 1 deletion .vitepress/theme/composables/sponsor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,14 @@ const viteSponsors: Pick<Sponsors, 'special' | 'gold'> = {
img: '/astro.svg',
},
],
gold: [],
gold: [
// through GitHub -> OpenCollective
{
name: 'Remix',
url: 'https://remix.run/',
img: '/remix.svg',
},
],
}

export function useSponsor() {
Expand Down
17 changes: 11 additions & 6 deletions .vitepress/theme/index.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
import { h } from 'vue'
import Theme from 'vitepress/theme'
import type { Theme } from 'vitepress'
import DefaultTheme from 'vitepress/theme'
import './styles/vars.css'
import HomeSponsors from './components/HomeSponsors.vue'
import AsideSponsors from './components/AsideSponsors.vue'
import SvgImage from './components/SvgImage.vue'
import WwAds from './components/WwAds.vue'
import './styles/vars.css'
import './custom.css'
// temporary fix for vitepress not including component css when only
// imported in a single page
import './components/BlogIndex.vue'

export default {
...Theme,
extends: DefaultTheme,
Layout() {
return h(Theme.Layout, null, {
return h(DefaultTheme.Layout, null, {
'home-features-after': () => h(HomeSponsors),
'aside-outline-after': () => h(WwAds),
'aside-bottom': () => h(AsideSponsors)
})
},
enhanceApp({ app }) {
app.component('SvgImage', SvgImage)
}
}
},
} satisfies Theme

8 changes: 8 additions & 0 deletions .vitepress/theme/styles/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,11 @@
.vp-sponsor.aside .vp-sponsor-grid.mini .vp-sponsor-grid-image {
max-width: 124px;
}

.vp-sponsor.aside .vp-sponsor-grid.mini .vp-sponsor-grid-image[alt='Bit'] {
max-height: 44px;
}

.vp-sponsor-grid.big .vp-sponsor-grid-image {
max-height: 96px;
}
Loading