1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

[FLASK] Fix overflow on snaps connect screen (#19995)

This commit is contained in:
Frederik Bolding 2023-07-13 13:40:58 +02:00 committed by GitHub
parent b5ece42ca1
commit 30a77d0483
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,10 @@
.snaps-connect { .snaps-connect {
overflow-y: hidden; overflow-y: hidden;
&__header {
width: 100%;
}
.page-container__footer { .page-container__footer {
border-top: 0; border-top: 0;
margin-top: auto; margin-top: auto;

View File

@ -18,6 +18,7 @@ import {
Display, Display,
FontWeight, FontWeight,
BlockSize, BlockSize,
OverflowWrap,
} from '../../../../helpers/constants/design-system'; } from '../../../../helpers/constants/design-system';
import { PageContainerFooter } from '../../../../components/ui/page-container'; import { PageContainerFooter } from '../../../../components/ui/page-container';
import SnapConnectCell from '../../../../components/app/snaps/snap-connect-cell/snap-connect-cell'; import SnapConnectCell from '../../../../components/app/snaps/snap-connect-cell/snap-connect-cell';
@ -164,6 +165,7 @@ export default function SnapsConnect({
variant={TextVariant.bodyMd} variant={TextVariant.bodyMd}
textAlign={TextAlign.Center} textAlign={TextAlign.Center}
padding={[0, 4]} padding={[0, 4]}
overflowWrap={OverflowWrap.Anywhere}
> >
{t('snapConnectionWarning', [ {t('snapConnectionWarning', [
<Text <Text