update resopnsiveness hamburger
This commit is contained in:
@@ -827,7 +827,7 @@ export const Editor: React.FC = () => {
|
||||
<div className="h-screen flex flex-col bg-white dark:bg-neutral-950 overflow-hidden">
|
||||
<header
|
||||
className={clsx(
|
||||
"h-14 bg-white dark:bg-neutral-900 border-b border-gray-200 dark:border-neutral-800 flex items-center px-4 justify-between z-10 fixed top-0 left-0 right-0 transition-transform duration-300",
|
||||
"h-16 bg-white dark:bg-neutral-900 border-b border-gray-200 dark:border-neutral-800 flex items-center px-4 justify-between z-10 fixed top-0 left-0 right-0 transition-transform duration-300",
|
||||
isHeaderVisible ? "translate-y-0" : "-translate-y-full"
|
||||
)}
|
||||
>
|
||||
@@ -945,8 +945,8 @@ export const Editor: React.FC = () => {
|
||||
<div
|
||||
className="flex-1 w-full relative transition-all duration-300"
|
||||
style={{
|
||||
height: isHeaderVisible ? 'calc(100vh - 3.5rem)' : '100vh',
|
||||
marginTop: isHeaderVisible ? '3.5rem' : '0'
|
||||
height: isHeaderVisible ? 'calc(100vh - 4rem)' : '100vh',
|
||||
marginTop: isHeaderVisible ? '4rem' : '0'
|
||||
}}
|
||||
>
|
||||
{loadError ? (
|
||||
|
||||
Reference in New Issue
Block a user