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-top: 1em;
margin-bottom: 1.5em; margin-bottom: 1.5em;
} }
.body {
line-height: 1.5em;
}
} }
.controls { .controls {

View File

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

View File

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

View File

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