Skip to content

Commit

Permalink
docs: center logo on home (#2559)
Browse files Browse the repository at this point in the history
  • Loading branch information
RSS1102 authored Nov 28, 2024
1 parent 3c64f57 commit 7c55128
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.VPContent {
display: flex;
align-items: center;
}

.VPHome {
flex-grow: 1;
}
2 changes: 1 addition & 1 deletion docs/.vitepress/theme/index.mts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { h } from 'vue'
import Theme from 'vitepress/theme'
import TranslationStatus from 'vitepress-translation-helper/ui/TranslationStatus.vue'
import status from '../translation-status.json'

import './custom.css'
const i18nLabels = {
fr: 'La traduction est synchronisée avec les docs du ${date} dont le hash du commit est <code>${hash}</code>.',
}
Expand Down

0 comments on commit 7c55128

Please sign in to comment.