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

increase line height of mail body to 1.5

This commit is contained in:
Tankred Hase 2013-09-18 23:59:04 +02:00
parent 289b462c2d
commit d801a84ceb
4 changed files with 22 additions and 14 deletions

View File

@ -33,6 +33,10 @@
margin-top: 1em;
margin-bottom: 1.5em;
}
.body {
line-height: 1.5em;
}
}
.controls {

View File

@ -1,6 +1,6 @@
.view-write {
margin: 0px;
padding: 10px;
padding: 12px;
color: $color-grey-dark;
.title {
@ -51,21 +51,25 @@
}
}
*[contentEditable] {
outline: 0px;
}
.body {
line-height: 1.5em;
.encrypt-preview {
font-size: 0.9em;
margin-top: 3em;
font-family: monospace;
color: $color-grey-light;
word-wrap: break-word;
*[contentEditable] {
outline: 0px;
}
.encrypt-preview {
font-size: 0.9em;
margin-top: 3em;
font-family: monospace;
color: $color-grey-light;
word-wrap: break-word;
}
}
.send-control {
position: absolute;
bottom: 10px;
right: 10px;
bottom: 12px;
right: 12px;
}
}

View File

@ -19,7 +19,7 @@
<div class="seperator-line"></div>
<div class="mail-text-body">
<div class="body">
<p ng-repeat="part in selected.bodyDisplayParts track by $index">
<span ng-switch="part.length !== 0">
<span ng-switch-when="true">{{part}}</span>

View File

@ -21,7 +21,7 @@
</button>
</div><!--/.subject-box-->
<div class="mail-text-body">
<div class="body">
<p ng-model="body" contentEditable="true" ng-change="updatePreview()" tabindex="4"></p>
<div class="encrypt-preview">