diff --git a/src/components/preview_panel/ActionHeader.tsx b/src/components/preview_panel/ActionHeader.tsx index 998eaa9..7694e6f 100644 --- a/src/components/preview_panel/ActionHeader.tsx +++ b/src/components/preview_panel/ActionHeader.tsx @@ -41,9 +41,6 @@ export type PreviewMode = | "configure" | "publish"; -const BUTTON_CLASS_NAME = - "no-app-region-drag cursor-pointer relative flex items-center gap-1 px-2 py-1 rounded-md text-[13px] font-medium z-10 hover:bg-[var(--background)]"; - // Preview Header component with preview mode toggle export const ActionHeader = () => { const [previewMode, setPreviewMode] = useAtom(previewModeAtom); @@ -177,12 +174,14 @@ export const ActionHeader = () => { ); @@ -199,6 +198,7 @@ export const ActionHeader = () => { return buttonContent; }; + const iconSize = 15; return ( @@ -220,14 +220,14 @@ export const ActionHeader = () => { {renderButton( "preview", previewRef, - , + , "Preview", "preview-mode-button", )} {renderButton( "problems", problemsRef, - , + , "Problems", "problems-mode-button", displayCount && ( @@ -239,21 +239,21 @@ export const ActionHeader = () => { {renderButton( "code", codeRef, - , + , "Code", "code-mode-button", )} {renderButton( "configure", configureRef, - , + , "Configure", "configure-mode-button", )} {renderButton( "publish", publishRef, - , + , "Publish", "publish-mode-button", )}