1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-30 08:09:15 +01:00
metamask-extension/ui/components/app/signature-request/signature-request-message/index.scss
Vladimir Saric 42be5a07d7
Replaced addresses by the address component on SignTypedData v4 signatures (#16018)
* Replaced addresses by the address component on SignTypedData v4 signatures

* Fixing signature-request e2e tests

* Modified scss file for signature-request message

* Using address component for rendering the addresses and bold label where hex address is not valid

* Modify the address component

* Added proper BEM syntax for class names and used Box and Typography

* FIxing e2e tests

* Commited requested changes from George and added storybook

* Review requested changes

* Created new component for rendering data in signature-request-message.js

* Fixing proper usage for getAccountName and getMetadataContractName selectors

* Fixing e2e tests
2022-11-10 06:58:34 -03:30

25 lines
364 B
SCSS

.signature-request-message {
flex: 1 60%;
max-height: 231px;
position: relative;
&__root {
flex: 1 100%;
overflow: auto;
@include screen-sm-min {
width: auto;
}
}
&__scroll-button {
position: absolute;
right: 28px;
bottom: 12px;
border-radius: 50%;
height: 24px;
width: 24px;
cursor: pointer;
}
}