mirror of
https://github.com/open-webui/computer.git
synced 2026-11-23 14:10:45 -05:00
refac
This commit is contained in:
1 parent
0659b42a55
commit
a8b73fe63f
1 file changed
+16
-1
@@ -64,7 +64,7 @@
|
||||
</script>
|
||||
|
||||
<nav
|
||||
class="flex items-center h-9 px-1.5 gap-1 shrink-0 select-none border-b border-gray-200 dark:border-white/6"
|
||||
class="wco-bar flex items-center h-9 px-1.5 gap-1 shrink-0 select-none border-b border-gray-200 dark:border-white/6"
|
||||
>
|
||||
<!-- Sidebar toggle (only when closed) -->
|
||||
{#if !$sidebarOpen}
|
||||
@@ -121,3 +121,18 @@
|
||||
onclose={() => (showSplitMenu = false)}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
<style>
|
||||
@media (display-mode: window-controls-overlay) {
|
||||
.wco-bar {
|
||||
padding-left: env(titlebar-area-x, 0px);
|
||||
width: env(titlebar-area-width, 100%);
|
||||
height: env(titlebar-area-height, 36px);
|
||||
app-region: drag;
|
||||
}
|
||||
.wco-bar button,
|
||||
.wco-bar a {
|
||||
app-region: no-drag;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user