diff --git a/public/assets/images/Comfy_Logo_x256.png b/public/assets/images/Comfy_Logo_x256.png new file mode 100644 index 000000000..e8cd75a38 Binary files /dev/null and b/public/assets/images/Comfy_Logo_x256.png differ diff --git a/src/App.vue b/src/App.vue index 2a8bae885..5225c5dae 100644 --- a/src/App.vue +++ b/src/App.vue @@ -45,6 +45,9 @@ onMounted(() => { if (isElectron()) { document.addEventListener('contextmenu', showContextMenu) + + // Enable CSS selectors + document.documentElement.dataset['platform'] = 'electron' } }) diff --git a/src/components/MenuHamburger.vue b/src/components/MenuHamburger.vue index 77036864d..efd93cdfc 100644 --- a/src/components/MenuHamburger.vue +++ b/src/components/MenuHamburger.vue @@ -46,8 +46,8 @@ const positionCSS = computed(() => // 'Bottom' menuSetting shows the hamburger button in the bottom right corner // 'Disabled', 'Top' menuSetting shows the hamburger button in the top right corner menuSetting.value === 'Bottom' - ? { bottom: '0px', right: '0px' } - : { top: '0px', right: '0px' } + ? { bottom: '0', right: '0' } + : { top: '0', right: 'calc(100% - env(titlebar-area-width, 100%))' } ) diff --git a/src/components/topbar/TopMenubar.vue b/src/components/topbar/TopMenubar.vue index c41fffe90..e3a3753fe 100644 --- a/src/components/topbar/TopMenubar.vue +++ b/src/components/topbar/TopMenubar.vue @@ -30,7 +30,7 @@ + +