mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-27 13:38:40 +00:00
better spacing in zen mode
This commit is contained in:
parent
03bbc0bc27
commit
943d78f268
@ -52,7 +52,7 @@ export function Header({ context }) {
|
|||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div
|
<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={() => {
|
onClick={() => {
|
||||||
if (!isEmbedded) {
|
if (!isEmbedded) {
|
||||||
setIsZen(!isZen);
|
setIsZen(!isZen);
|
||||||
|
|||||||
@ -250,7 +250,7 @@ export function Repl({ embedded = false }) {
|
|||||||
)}
|
)}
|
||||||
<div className="grow flex relative overflow-hidden">
|
<div className="grow flex relative overflow-hidden">
|
||||||
<section
|
<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"
|
id="code"
|
||||||
ref={(el) => {
|
ref={(el) => {
|
||||||
containerRef.current = el;
|
containerRef.current = el;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user