1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/components/app/flask/snap-install-warning/index.scss
Hassan Malik c2b2f2685e
[FLASK] Redesign key management modal (#18263)
* added the rest of the sev1 warnings to getSnapInstallWarnings

* added and updated translations

* Updated getSnapInstallWarnings to include warnings for all weight-1 permissions

* Updated snap install warning and css according to designs

* fix snaps tests

* fixed alignment/spacing

* updated e2e tests to click through the newly displayed public key access warning

* lint fix

* fixed update snap test

* refactored getSnapInstallWarnings, moved logic to PERMISSION_DESCRIPTIONS

* fix logic to account for objects & arrays

* update function description

* add missing properties to ethereum provider description

* moved id and message to baseDescription to fix error

* add optional chaining to fix undefined error

* more optional chaining

* more optional chaining
2023-03-29 15:17:57 -04:00

36 lines
493 B
SCSS

.snap-install-warning {
.popover-header {
padding-bottom: 0;
}
.checkbox-label {
@include H7;
display: flex;
align-items: flex-start;
gap: 0 16px;
margin-top: 16px;
&--first {
margin-top: 0;
}
}
&__footer {
display: flex;
flex-flow: row;
justify-content: center;
flex: 0 0 auto;
width: 100%;
max-height: 40px;
}
&__footer-button {
margin-right: 16px;
&:last-of-type {
margin-right: 0;
}
}
}