1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-29 20:32:15 -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> <!DOCTYPE html>
<html style="overflow-y: auto"> <html style="overflow: auto">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">

View File

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

View File

@ -53,8 +53,8 @@
</div><!--/.working--> </div><!--/.working-->
</div><!--/.working-wrapper--> </div><!--/.working-wrapper-->
<div class="showImages" ng-show="html && showImageButton"> <div class="display-images">
<a href='#' ng-click="displayImages(); $event.preventDefault()">Display images</a> <a ng-show="html && showImageButton" href='#' ng-click="displayImages(); $event.preventDefault()">Display images</a>
</div> </div>
<!-- Render html body in sandboxed iframe --> <!-- Render html body in sandboxed iframe -->