fix toc css

This commit is contained in:
2022-02-13 14:57:28 +01:00
parent 784acdedbb
commit 01d442a246
4 changed files with 24 additions and 12 deletions

View File

@ -139,4 +139,10 @@
.md\:grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr))
}
}
}
@media (min-width: 1024px) {
.lg\:flex-row {
flex-direction: row
}
}

View File

@ -6,12 +6,16 @@
# https://jpanther.github.io/congo/docs/configuration/#theme-parameters
colorScheme = "congo"
# darkMode = "auto"
# darkToggle = false
# logo = "img/logo.jpg"
# description = "My awesome website"
defaultAppearance = "light" # valid options: light or dark
autoSwitchAppearance = true
showAppearanceSwitcher = true
enableSearch = true
enableCodeCopy = true
mainSections = ["posts"]
# robots = ""
showScrollToTop = true
[homepage]
layout = "profile" # valid options: page, profile, custom
@ -19,24 +23,26 @@ showRecent = true
[article]
showDate = true
dateFormat = "2 January 2006"
showDateUpdated = false
showAuthor = true
showBreadcrumbs = false
showDraftLabel = true
showEdit = false
# editURL = "https://github.com/username/repo/"
editAppendPath = true
showHeadingAnchors = true
showPagination = true
invertPagination = false
showReadingTime = true
showTableOfContents = true
showTaxonomies = false
showWordCount = false
# sharingLinks = ["facebook", "twitter", "pinterest", "reddit", "linkedin", "email"]
showTableOfContents = true
[list]
showBreadcrumbs = false
showBreadcrumbs = true
showSummary = false
groupByYear = true
showTableOfContents = true
groupByYear = false
[taxonomy]
showTermCount = true

View File

@ -1 +1 @@
@tailwind utilities;
@tailwind utilities;

View File

@ -4,6 +4,6 @@ module.exports = {
"./content/**/*.{html,md}",
],
safelist: [
'sm:flex-row',
'sm:flex-row', 'lg:flex-row'
],
};