1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

add word wrap to cells on view. resolves #432

This commit is contained in:
Kyle Spearrin
2017-12-12 08:26:38 -05:00
parent fd35529f38
commit 39eb015d3e

View File

@@ -15,12 +15,12 @@
<i class="fa fa-share-alt fa-lg pull-right" ng-if="cipher.organizationId" title="{{i18n.shared}}"></i> <i class="fa fa-share-alt fa-lg pull-right" ng-if="cipher.organizationId" title="{{i18n.shared}}"></i>
</div> </div>
<div class="list-section-items"> <div class="list-section-items">
<div class="list-section-item"> <div class="list-section-item wrap">
<span class="item-label">{{i18n.name}}</span> <span class="item-label">{{i18n.name}}</span>
{{cipher.name}} {{cipher.name}}
</div> </div>
<div ng-if="cipher.type === constants.cipherType.login"> <div ng-if="cipher.type === constants.cipherType.login">
<div class="list-section-item" ng-if="cipher.login.uri" title="{{cipher.login.uri}}"> <div class="list-section-item wrap" ng-if="cipher.login.uri" title="{{cipher.login.uri}}">
<div class="action-buttons"> <div class="action-buttons">
<a class="btn-list" href="" title="{{i18n.launchWebsite}}" ng-click="launchWebsite(cipher)" <a class="btn-list" href="" title="{{i18n.launchWebsite}}" ng-click="launchWebsite(cipher)"
ng-show="cipher.showLaunch"> ng-show="cipher.showLaunch">
@@ -36,7 +36,7 @@
<span class="item-label">{{i18n.website}}</span> <span class="item-label">{{i18n.website}}</span>
{{cipher.login.website}} {{cipher.login.website}}
</div> </div>
<div class="list-section-item" ng-if="cipher.login.username"> <div class="list-section-item wrap" ng-if="cipher.login.username">
<div class="action-buttons"> <div class="action-buttons">
<a class="btn-list" href="" title="{{i18n.copyUsername}}" <a class="btn-list" href="" title="{{i18n.copyUsername}}"
ngclipboard ngclipboard-error="clipboardError(e)" ngclipboard ngclipboard-error="clipboardError(e)"
@@ -196,7 +196,7 @@
{{i18n.customFields}} {{i18n.customFields}}
</div> </div>
<div class="list-section-items"> <div class="list-section-items">
<div class="list-section-item" ng-repeat="field in cipher.fields"> <div class="list-section-item wrap" ng-repeat="field in cipher.fields">
<div class="action-buttons"> <div class="action-buttons">
<a class="btn-list" href="" title="{{i18n.toggleValue}}" ng-click="toggleFieldValue(field)" <a class="btn-list" href="" title="{{i18n.toggleValue}}" ng-click="toggleFieldValue(field)"
ng-if="field.type === constants.fieldType.hidden"> ng-if="field.type === constants.fieldType.hidden">
@@ -228,7 +228,7 @@
{{i18n.attachments}} {{i18n.attachments}}
</div> </div>
<div class="list-section-items"> <div class="list-section-items">
<a class="list-section-item list-allow-selection" href="#" stop-click <a class="list-section-item list-allow-selection wrap" href="#" stop-click
ng-repeat="attachment in cipher.attachments" ng-repeat="attachment in cipher.attachments"
ng-click="download(attachment)"> ng-click="download(attachment)">
<i class="fa fa-download right-icon fa-fw no-animation" ng-if="!attachment.downloading"></i> <i class="fa fa-download right-icon fa-fw no-animation" ng-if="!attachment.downloading"></i>