mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-23 14:06:59 +02:00
fix: apply announcement bar class if only needed (#5699)
This commit is contained in:
parent
54015de628
commit
fee10c9e13
4 changed files with 19 additions and 21 deletions
|
@ -269,7 +269,7 @@ const ThemeConfigSchema = Joi.object({
|
|||
.default(DEFAULT_CONFIG.metadatas),
|
||||
announcementBar: Joi.object({
|
||||
id: Joi.string().default('announcement-bar'),
|
||||
content: Joi.string(),
|
||||
content: Joi.string().required(),
|
||||
backgroundColor: Joi.string(),
|
||||
textColor: Joi.string(),
|
||||
isCloseable: Joi.bool().default(true),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue