diff --git a/packages/app/src/components/SolidityEditor.vue b/packages/app/src/components/SolidityEditor.vue index 538aa3596..52ad41f04 100644 --- a/packages/app/src/components/SolidityEditor.vue +++ b/packages/app/src/components/SolidityEditor.vue @@ -116,6 +116,14 @@ function focusEditor() { .prism-editor__line-numbers { @apply h-max; } + + .prism-editor__container { + @apply overflow-x-scroll; + } + + .prism-editor__editor { + @apply text-nowrap; + } } } diff --git a/packages/app/tailwind.config.js b/packages/app/tailwind.config.js index 28d9ad07b..7047b8782 100644 --- a/packages/app/tailwind.config.js +++ b/packages/app/tailwind.config.js @@ -48,6 +48,9 @@ module.exports = { maxWidth: "1240px", }, }, + ".text-nowrap": { + textWrap: "nowrap", + }, }); }, ],