[Fixed] #7921 Message text overflow removed redundant title (#10485)

* fixed message text overflow

* reverted and removed mesage title inside message--root

* fixed margin problem in sign message

* removed dead css

* fixed large left padding on data signing
feature/default_network_editable
Austin Akers 4 years ago committed by GitHub
parent 1a2dc850a3
commit dedadee346
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      ui/app/components/app/signature-request/signature-request-message/index.scss
  2. 3
      ui/app/components/app/signature-request/signature-request-message/signature-request-message.component.js

@ -29,35 +29,27 @@
overflow: auto; overflow: auto;
padding-left: 12px; padding-left: 12px;
padding-right: 12px; padding-right: 12px;
width: 360px;
@media screen and (min-width: 576px) { @media screen and (min-width: 576px) {
width: auto; width: auto;
} }
} }
&__type-title {
@include H6;
margin-left: 12px;
margin-top: 6px;
margin-bottom: 10px;
}
&--node, &--node,
&--node-leaf { &--node-leaf {
padding-left: 0.8rem; padding-left: 0.3rem;
&-label { &-label {
color: #5b5d67; color: #5b5d67;
margin-left: 0.5rem;
} }
&-value { &-value {
color: black; color: black;
margin-left: 0.5rem; margin-left: 0.5rem;
text-overflow: ellipsis; white-space: pre-line;
white-space: nowrap;
overflow: hidden; overflow: hidden;
word-wrap: break-word;
} }
} }

@ -47,9 +47,6 @@ export default class SignatureRequestMessage extends PureComponent {
{this.context.t('signatureRequest1')} {this.context.t('signatureRequest1')}
</div> </div>
<div className="signature-request-message--root"> <div className="signature-request-message--root">
<div className="signature-request-message__type-title">
{this.context.t('signatureRequest1')}
</div>
{this.renderNode(data)} {this.renderNode(data)}
</div> </div>
</div> </div>

Loading…
Cancel
Save