1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 11:46:13 +02:00
metamask-extension/ui/components/app/permissions-connect-header/index.scss
Olaf Tomalka 90b656bd66
Added SiteOrigin and PermissionList components (#12832)
* Changed back button to the one in design

* PermissionConnect now uses Chip component

* Added SiteOrigin widget

* WIP

* Added new permission list

* Fix linting errors

* Removed unused messages

* Removed more unused messages

* Make SiteOrigin bigger

* Fix lint

* Code Review fixes

* Fix SiteOrigin overflowing

* Add stories

* Fix lint

* Added useMemo to constant

* Fix Chip's max-content overflowing SiteOrigin

* Fix code review issues

Co-authored-by: Olaf Tomalka <olaftomalka@Olafs-MacBook-Pro-2.local>
2021-12-02 18:22:18 +01:00

33 lines
448 B
SCSS

.permissions-connect-header {
display: flex;
flex: 0;
flex-direction: column;
justify-content: center;
width: 92%;
&__icon {
display: flex;
flex-direction: column;
align-items: center;
}
&__title {
@include H3;
text-align: center;
color: $Black-100;
margin-top: 16px;
}
&__subtitle {
@include H6;
text-align: center;
color: $Grey-500;
}
&__subtitle {
margin-top: 4px;
}
}