mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix Signature Request styles (#15621)
* SignatureRequestOriginal: fix collapsing ui * SignatureRequestOrigin: fix collapsing icon
This commit is contained in:
parent
a52c6a4908
commit
34eeea26f3
@ -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…
x
Reference in New Issue
Block a user