fix #192 Download image is not displayed corectly in Firefox

This commit is contained in:
Eugenio Romano
2016-06-21 14:54:12 +01:00
parent 3add949925
commit e1be068973
2 changed files with 6 additions and 2 deletions

View File

@@ -16,3 +16,7 @@
align-items: center;
justify-content: center;
}
.full_width{
width :100% !important;
}

View File

@@ -1,10 +1,10 @@
<section class="section--center mdl-grid mdl-grid--no-spacing">
<div class="viewer-margin mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone mdl-shadow--2dp">
<div class="viewer-download-text mdl-card__supporting-text">
<div class="viewer-download-text mdl-card__supporting-text full_width">
<h4>File <span>{{nameFile}}</span> is an unsupported format</h4>
</div>
<div class="center-element mdl-card__actions">
<button id="viewer-download-button" class="viewer-margin center-element mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent" (click)="download()">
<button id="viewer-download-button" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent" (click)="download()">
<i class="viewer-margin-cloud-download material-icons">cloud_download</i> Download
</button>
</div>