mirror of
https://github.com/bitwarden/web
synced 2025-12-15 07:43:16 +00:00
adjust height of notes field
This commit is contained in:
@@ -179,7 +179,8 @@
|
|||||||
|
|
||||||
<div class="form-group" show-errors>
|
<div class="form-group" show-errors>
|
||||||
<label for="notes">Notes</label>
|
<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>
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
<h4><i class="fa fa-list-ul"></i> Custom Fields</h4>
|
<h4><i class="fa fa-list-ul"></i> Custom Fields</h4>
|
||||||
|
|||||||
@@ -172,6 +172,7 @@
|
|||||||
<div class="form-group" show-errors>
|
<div class="form-group" show-errors>
|
||||||
<label for="notes">Notes</label>
|
<label for="notes">Notes</label>
|
||||||
<textarea id="notes" name="Notes" class="form-control" ng-model="cipher.notes"
|
<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>
|
ng-readonly="readOnly" api-field></textarea>
|
||||||
</div>
|
</div>
|
||||||
<div ng-if="!readOnly || (cipher.fields && cipher.fields.length)">
|
<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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user