-
Notifications
You must be signed in to change notification settings - Fork 457
✨(frontend) fix pdf embed to use full width #1526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
3984faf to
cf52a8d
Compare
|
Size Change: +11 B (0%) Total Size: 3.68 MB
|
|
🚀 Preview will be available at https://1526-docs.ppr-docs.beta.numerique.gouv.fr/ You can use the existing account with these credentials:
You can also create a new account if you want to. Once this Pull Request is merged, the preview will be destroyed. |
cf52a8d to
2c461d8
Compare
| - 🐛(frontend) show full nested doc names with ajustable bar #1456 | ||
| - 🐛(frontend) fix pdf embed to use full width #1526 | ||
| - 🐛(backend) fix trashbin list | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| const PDFBlockStyle = createGlobalStyle` | ||
| .bn-block-content[data-content-type="pdf"] { | ||
| width: fit-content; | ||
| .bn-block-content[data-content-type="pdf"] .bn-file-block-content-wrapper[style*="fit-content"] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clever ^^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks mate
2c461d8 to
cf52a8d
Compare
97ca66c to
f0eb426
Compare
CHANGELOG.md
Outdated
| ### Fixed | ||
|
|
||
| - 🐛(frontend) fix duplicate document entries in grid #1479 | ||
| - 🐛(frontend) show full nested doc names with ajustable bar #1456 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - 🐛(frontend) show full nested doc names with ajustable bar #1456 |
CHANGELOG.md
Outdated
|
|
||
| - 🐛(frontend) fix duplicate document entries in grid #1479 | ||
| - 🐛(frontend) show full nested doc names with ajustable bar #1456 | ||
| - 🐛(frontend) fix pdf embed to use full width #1526 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We did a release, when you will rebase with main, think of moving this part under the Unrelease part.
Signed-off-by: Cyril <[email protected]>
f0eb426 to
aba7959
Compare
Purpose
Fix a styling issue where embedded PDFs appeared too narrow due to
width: fit-contenton their wrapper.issue : 1492
Proposal
width: 100%