better spacing in zen mode
This commit is contained in:
parent
03bbc0bc27
commit
943d78f268
2 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ export function Header({ context }) {
|
|||
)}
|
||||
>
|
||||
<div
|
||||
className={cx('mt-[1px]', started && 'animate-spin', 'cursor-pointer')}
|
||||
className={cx('mt-[1px]', started && 'animate-spin', 'cursor-pointer', isZen && 'fixed top-2 right-4')}
|
||||
onClick={() => {
|
||||
if (!isEmbedded) {
|
||||
setIsZen(!isZen);
|
||||
|
|
|
|||
|
|
@ -250,7 +250,7 @@ export function Repl({ embedded = false }) {
|
|||
)}
|
||||
<div className="grow flex relative overflow-hidden">
|
||||
<section
|
||||
className={'text-gray-100 cursor-text pb-0 overflow-auto grow' + (isZen ? ' px-10' : '')}
|
||||
className={'text-gray-100 cursor-text pb-0 overflow-auto grow'}
|
||||
id="code"
|
||||
ref={(el) => {
|
||||
containerRef.current = el;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue