Skip to content

Commit 2ff6723

Browse files
author
Omar Flores Grimontt
committed
Fixed image size problem in docx
1 parent 89721e5 commit 2ff6723

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@omarefg/react-file-preview",
3-
"version": "0.1.8",
3+
"version": "0.1.9",
44
"description": "Component to render and preview some kind of documents",
55
"main": "lib/index.js",
66
"private": false,

src/styles/Csv.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/styles/Docx.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export const DocxStyles = styled.div`
5050
}
5151
img {
5252
width: auto
53+
max-width: 100%
5354
}
5455
tr {
5556
display: table-row

0 commit comments

Comments
 (0)