remove code related to encrypted file download button in iframe (#7940)
* remove code related to encrypted file download button in iframe Signed-off-by: Kerry Archibald <kerrya@element.io> * i18n Signed-off-by: Kerry Archibald <kerrya@element.io> * remove getIframeFn in mfilebody filedownloader Signed-off-by: Kerry Archibald <kerrya@element.io> * remove iframe ref too Signed-off-by: Kerry Archibald <kerrya@element.io>
This commit is contained in:
parent
d01ea1824b
commit
26216ec527
4 changed files with 5 additions and 87 deletions
|
@ -45,20 +45,6 @@ limitations under the License.
|
|||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Remove the border and padding for iframes for download links. */
|
||||
.mx_MFileBody_download iframe {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: none;
|
||||
width: 100%;
|
||||
/* Set the height of the iframe to be 1 line of text.
|
||||
* Iframes don't automatically size themselves to fit their content.
|
||||
* So either we have to fix the height of the iframe using CSS or
|
||||
* use javascript's cross-origin postMessage API to communicate how
|
||||
* big the content of the iframe is. */
|
||||
height: 1.5em;
|
||||
}
|
||||
|
||||
.mx_MFileBody_info {
|
||||
cursor: pointer;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue