adjust height of notes field
This commit is contained in:
parent
4046339569
commit
b13edfeeae
|
@ -179,7 +179,8 @@
|
|||
|
||||
<div class="form-group" show-errors>
|
||||
<label for="notes">Notes</label>
|
||||
<textarea id="notes" name="Notes" class="form-control" ng-model="cipher.notes" api-field></textarea>
|
||||
<textarea id="notes" name="Notes" class="form-control" ng-model="cipher.notes" api-field
|
||||
ng-class="{'big-textarea': cipher.type === constants.cipherType.secureNote}"></textarea>
|
||||
</div>
|
||||
<hr />
|
||||
<h4><i class="fa fa-list-ul"></i> Custom Fields</h4>
|
||||
|
|
|
@ -172,6 +172,7 @@
|
|||
<div class="form-group" show-errors>
|
||||
<label for="notes">Notes</label>
|
||||
<textarea id="notes" name="Notes" class="form-control" ng-model="cipher.notes"
|
||||
ng-class="{'big-textarea': cipher.type === constants.cipherType.secureNote}"
|
||||
ng-readonly="readOnly" api-field></textarea>
|
||||
</div>
|
||||
<div ng-if="!readOnly || (cipher.fields && cipher.fields.length)">
|
||||
|
|
|
@ -785,3 +785,13 @@ h1, h2, h3, h4, h5, h6 {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
textarea {
|
||||
&#notes {
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
&.big-textarea {
|
||||
height: 200px !important;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue