diff --git a/components/Carbon.js b/components/Carbon.js index 4dc2bdc..1aec6de 100644 --- a/components/Carbon.js +++ b/components/Carbon.js @@ -127,6 +127,7 @@ class Carbon extends React.Component { border-radius: 5px; font-family: Hack, monospace !important; font-size: 0.7rem; + user-select: none; } #container :global(.window-theme__sharp > .CodeMirror) { diff --git a/components/Toolbar.js b/components/Toolbar.js index 9c8aeba..2a26049 100644 --- a/components/Toolbar.js +++ b/components/Toolbar.js @@ -21,11 +21,6 @@ const Toolbar = (props) => ( #toolbar > :global(div):last-child { margin-right: 0px; } - - .buttons { - display: flex; - margin-left: auto; - } `} ) diff --git a/pages/editor.js b/pages/editor.js index 65f405b..3e05380 100644 --- a/pages/editor.js +++ b/pages/editor.js @@ -140,6 +140,11 @@ class Editor extends React.Component { border-radius: 8px; padding: 16px; } + + .buttons { + display: flex; + margin-left: auto; + } `}