mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-04 23:14:56 +01:00
66ceeefae3
This commit fixes a few issues with ConfirmPageContainerSummary (which holds the contract being used or action being performed and the money being sent): * Remove fixed height so that the secondary currency doesn't get cut off or spill over * Add missing padding * Fix font size of primary and secondary currencies * Add top border when there is a "address not in your address book" alert at the top Co-authored-by: Ariella <ariellavu@gmail.com>
69 lines
1.0 KiB
SCSS
69 lines
1.0 KiB
SCSS
.confirm-page-container-summary {
|
|
padding: 16px 24px;
|
|
background-color: #f9fafa;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-evenly;
|
|
|
|
&__origin,
|
|
&__action-row {
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
&__origin {
|
|
@include H6;
|
|
}
|
|
|
|
&__action-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
&__action {
|
|
@include H7;
|
|
|
|
text-transform: uppercase;
|
|
color: var(--oslo-gray);
|
|
padding: 3px 8px;
|
|
border: 1px solid var(--oslo-gray);
|
|
border-radius: 4px;
|
|
display: inline-block;
|
|
}
|
|
|
|
&__nonce {
|
|
color: var(--oslo-gray);
|
|
}
|
|
|
|
&__title {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
&__icon {
|
|
flex: 0 0 auto;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
&__title-text {
|
|
@include H1;
|
|
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
&__subtitle {
|
|
@include H5;
|
|
|
|
color: var(--oslo-gray);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
&--border {
|
|
border-bottom: 1px solid var(--geyser);
|
|
}
|
|
}
|