File tree Expand file tree Collapse file tree
apps/desktop/src/routes/(main) Expand file tree Collapse file tree Original file line number Diff line number Diff line change 985985<div class =" page-container" >
986986 {#if isMacOS ()}
987987 <!-- svelte-ignore a11y_no_static_element_interactions -->
988- <div class ="title-bar" onmousedown ={handleTitleBarMouseDown }>
989- <span class ="title-text" >{windowTitle }</span >
988+ <div class ="title-bar" class:dev-mode ={import .meta .env .DEV } onmousedown ={handleTitleBarMouseDown }>
989+ <span class =" title-text"
990+ >{import .meta .env .DEV ? ` DEV MODE - ${windowTitle } - DEV MODE ` : windowTitle }</span
991+ >
990992 </div >
991993 {/if }
992994
10501052 padding-top : 2px ;
10511053 background-color : var (--color-bg-secondary );
10521054 flex-shrink : 0 ;
1055+ position : relative ;
1056+ }
1057+
1058+ /* noinspection CssUnusedSymbol*/
1059+ .title-bar.dev-mode ::after {
1060+ content : ' ' ;
1061+ position : absolute ;
1062+ inset : 0 ;
1063+ background-color : rgba (255 , 105 , 180 , 0.6 );
1064+ pointer-events : none ;
10531065 }
10541066
10551067 .title-text {
You can’t perform that action at this time.
0 commit comments