Open andrewsemchism opened 2 years ago
Could be a regression from https://github.com/facebook/docusaurus/pull/5430
Probably not a regression, this is what we had before:
Related to https://github.com/facebook/docusaurus/issues/8370, we should probably fix both issues at once ensuring an announcement bar with dynamic height is possible and does not mess up with the docs layout
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
Announcement bar text is being cut off on some display sizes if the announcement is long enough.
View demo on codesandbox. In this example the bug will occur at a screen size of 997px.
Reproducible demo
https://codesandbox.io/s/blissful-currying-nqeocf?file=/docusaurus.config.js&resolutionWidth=997&resolutionHeight=675
Steps to reproduce
Expected behavior
The announcement bar should resize to fit the whole message.
Actual behavior
The announcement bar is too small to fit the whole message. It clips the message vertically.
Your environment
No response
Self-service