1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-22 17:02:17 -05:00

Improve spacing between reader body and display images button

This commit is contained in:
Tankred Hase 2014-06-26 16:32:58 +02:00
parent 2500b46f3a
commit 636e6ffad9
3 changed files with 6 additions and 8 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html style="overflow-y: auto">
<html style="overflow: auto">
<head>
<meta charset="utf-8">

View File

@ -114,9 +114,9 @@
}
}
.showImages {
.display-images {
flex-shrink: 0;
padding: 1em;
padding: 0.9em;
text-align: center;
a {
@ -127,7 +127,6 @@
iframe {
flex-grow: 1;
margin-top: 1.75em;
width: 100%;
height: 100%;
border: none;
@ -135,7 +134,6 @@
.body {
flex-grow: 1;
margin-top: 1.75em;
line-height: 1.5em;
overflow-y: scroll;
user-select: text;

View File

@ -53,12 +53,12 @@
</div><!--/.working-->
</div><!--/.working-wrapper-->
<div class="showImages" ng-show="html && showImageButton">
<a href='#' ng-click="displayImages(); $event.preventDefault()">Display images</a>
<div class="display-images">
<a ng-show="html && showImageButton" href='#' ng-click="displayImages(); $event.preventDefault()">Display images</a>
</div>
<!-- Render html body in sandboxed iframe -->
<iframe ng-show="html" sandbox="allow-popups allow-scripts" src="sandbox.html"
<iframe ng-show="html" sandbox="allow-popups allow-scripts" src="sandbox.html"
frame-load="state.mailList.selected.html">
</iframe>