Skip to content

Commit

Permalink
Make the default height a little shorter.
Browse files Browse the repository at this point in the history
  • Loading branch information
pento committed Apr 21, 2021
1 parent c7f3b38 commit 7bee495
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/block-library/src/file/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"previewHeight": {
"type": "number",
"default": 800
"default": 600
}
},
"supports": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"textLinkTarget": "_blank",
"showDownloadButton": true,
"downloadButtonText": "Download",
"previewHeight": 800
"previewHeight": 600
},
"innerBlocks": [],
"originalContent": "<div class=\"wp-block-file\"><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" target=\"_blank\" rel=\"noreferrer noopener\">6546</a><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" class=\"wp-block-file__button\" download>Download</a></div>"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"textLinkHref": "http://localhost:8888/wp-content/uploads/2018/05/keycodes.js",
"showDownloadButton": false,
"downloadButtonText": "",
"previewHeight": 800
"previewHeight": 600
},
"innerBlocks": [],
"originalContent": "<div class=\"wp-block-file\"><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\">lkjfijwef</a></div>"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"fileName": "",
"showDownloadButton": true,
"downloadButtonText": "Download",
"previewHeight": 800
"previewHeight": 600
},
"innerBlocks": [],
"originalContent": "<div class=\"wp-block-file\"><a href=\"http://localhost:8888/wp-content/uploads/2018/05/keycodes.js\" class=\"wp-block-file__button\" download>Download</a></div>"
Expand Down

0 comments on commit 7bee495

Please sign in to comment.