mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:47:32 +00:00
fix(docs): image zoom plugin (#3946)
fix: image zoom plugin Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
This commit is contained in:
@@ -19,7 +19,15 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
themeConfig: {
|
||||
zoomSelector: ".markdown :not(em) > img",
|
||||
zoom: {
|
||||
selector: '.markdown :not(em) > img',
|
||||
background: {
|
||||
light: 'rgb(243, 244, 246)',
|
||||
dark: 'rgb(55, 59, 82)'
|
||||
},
|
||||
// options you can specify via https://github.com/francoischalifour/medium-zoom#usage
|
||||
config: {}
|
||||
},
|
||||
announcementBar: {
|
||||
id: 'documentation',
|
||||
content:
|
||||
@@ -170,5 +178,5 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
],
|
||||
plugins: [require.resolve("plugin-image-zoom")],
|
||||
plugins: [require.resolve("docusaurus-plugin-image-zoom")],
|
||||
};
|
||||
|
Reference in New Issue
Block a user