Skip to content

Commit 7c55128

Browse files
authored
docs: center logo on home (#2559)
1 parent 3c64f57 commit 7c55128

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

docs/.vitepress/theme/custom.css

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.VPContent {
2+
display: flex;
3+
align-items: center;
4+
}
5+
6+
.VPHome {
7+
flex-grow: 1;
8+
}

docs/.vitepress/theme/index.mts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { h } from 'vue'
22
import Theme from 'vitepress/theme'
33
import TranslationStatus from 'vitepress-translation-helper/ui/TranslationStatus.vue'
44
import status from '../translation-status.json'
5-
5+
import './custom.css'
66
const i18nLabels = {
77
fr: 'La traduction est synchronisée avec les docs du ${date} dont le hash du commit est <code>${hash}</code>.',
88
}

0 commit comments

Comments
 (0)