fix(SceneSettingsDeveloper): make api page responsive

This commit is contained in:
Aminejv 2022-02-02 19:18:16 +01:00
parent 0e3e30c089
commit 55f0e1bce2
2 changed files with 6 additions and 2 deletions

View File

@ -128,10 +128,13 @@ const STYLES_CODE_BLOCK = css`
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
border-radius: 4px;
padding: 20px 24px;
width: 100%;
display: flex;
overflow-x: auto;
* {
white-space: pre-wrap;
overflow-wrap: break-word;
word-break: break-word;
::-webkit-scrollbar {
-webkit-appearance: none;
width: 0;

View File

@ -48,7 +48,8 @@ const STYLES_API_KEY = css`
background-color: ${Constants.semantic.bgLight};
outline: none;
border: none;
width: 380px;
width: 100%;
max-width: 380px;
font-family: ${Constants.font.code};
padding: 0 16px;
font-size: 14px;