fix(Carbon.js): Responsive design at the largest font size (#1337)

The code should not overflow on mobile when using the largest font size.
main
hatsu 3 years ago committed by GitHub
parent bc53bb9396
commit 5153350fbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -355,6 +355,9 @@ class Carbon extends React.PureComponent {
.container :global([contenteditable='true']) {
user-select: text;
}
.container {
max-width: 480px;
}
}
.section,
@ -365,6 +368,7 @@ class Carbon extends React.PureComponent {
justify-content: center;
align-items: center;
overflow: hidden;
max-width: 100%;
}
`}
</style>

Loading…
Cancel
Save