Page MenuHomeSoftware Heritage

Improve image and pdf contents rendering
ClosedPublic

Authored by kalpitk on Jul 10 2019, 12:01 PM.

Details

Summary

Related T1900
set max width of pdf, img to that of parent container

Diff Detail

Repository
rDWAPPS Web applications
Branch
impRender
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 6766
Build 9466: tox-on-jenkinsJenkins
Build 9463: arc lint + arc unit

Event Timeline

kalpitk retitled this revision from [WIP] Improve image and pdf contents rendering to Improve image and pdf contents rendering.Jul 10 2019, 12:58 PM

add max-width to svg in readme

anlambert added a subscriber: anlambert.

Looks good, thanks !

swh/web/assets/src/bundles/browse/content.css
20

You should also add a rule for svgelements here

This revision is now accepted and ready to land.Jul 10 2019, 2:38 PM
swh/web/assets/src/bundles/browse/content.css
20

Svg files are rendered inside img tag in swh-content

swh/web/assets/src/bundles/browse/content.css
20

Maybe but this could change in the future so I will prefer to have the rule set.

add max-width for svg in swh-content

This revision was automatically updated to reflect the committed changes.