Fix Signature Request styles (#15621)

* SignatureRequestOriginal: fix collapsing ui

* SignatureRequestOrigin: fix collapsing icon
feature/default_network_editable
Ariella Vu 2 years ago committed by GitHub
parent a52c6a4908
commit 34eeea26f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      ui/components/app/signature-request-original/index.scss
  2. 1
      ui/components/app/signature-request-original/signature-request-original.component.js

@ -153,7 +153,6 @@
display: flex; display: flex;
flex-flow: column; flex-flow: column;
flex: 1 1 auto; flex: 1 1 auto;
height: 0;
} }
&__origin-row { &__origin-row {
@ -168,6 +167,10 @@
margin-right: 5px; margin-right: 5px;
} }
&__origin-icon {
flex: 0 0 24px;
}
&__origin { &__origin {
margin-left: 5px; margin-left: 5px;
} }
@ -193,7 +196,7 @@
&__rows { &__rows {
height: 100%; height: 100%;
overflow-y: scroll; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
border-top: 1px solid var(--color-border-default); border-top: 1px solid var(--color-border-default);
display: flex; display: flex;

@ -141,6 +141,7 @@ export default class SignatureRequestOriginal extends Component {
</div> </div>
{targetSubjectMetadata?.iconUrl ? ( {targetSubjectMetadata?.iconUrl ? (
<SiteIcon <SiteIcon
className="request-signature__origin-icon"
icon={targetSubjectMetadata.iconUrl} icon={targetSubjectMetadata.iconUrl}
name={ name={
getURLHostName(targetSubjectMetadata.origin) || getURLHostName(targetSubjectMetadata.origin) ||

Loading…
Cancel
Save