- 
                Notifications
    
You must be signed in to change notification settings  - Fork 445
 
✨(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
base: main
Are you sure you want to change the base?
Conversation
3984faf    to
    cf52a8d      
    Compare
  
    | 
           Size Change: +19 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.  | 
    
Signed-off-by: Cyril <c.gromoff@gmail.com>
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 ^^
Purpose
Fix a styling issue where embedded PDFs appeared too narrow due to
width: fit-contenton their wrapper.issue : 1492
Proposal
width: 100%