mirror of
https://github.com/open-webui/desktop
synced 2025-06-26 18:15:59 +00:00
refac: styling
This commit is contained in:
@@ -57,6 +57,7 @@ if (!gotTheLock) {
|
|||||||
webPreferences: {
|
webPreferences: {
|
||||||
preload: path.join(__dirname, "preload.js"),
|
preload: path.join(__dirname, "preload.js"),
|
||||||
},
|
},
|
||||||
|
titleBarStyle: "hidden",
|
||||||
});
|
});
|
||||||
|
|
||||||
mainWindow.setIcon(path.join(__dirname, "assets/icon.png"));
|
mainWindow.setIcon(path.join(__dirname, "assets/icon.png"));
|
||||||
|
|||||||
@@ -2,7 +2,10 @@
|
|||||||
import { onMount } from "svelte";
|
import { onMount } from "svelte";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="flex flex-row w-full h-full">
|
<div class="flex flex-row w-full h-full relative">
|
||||||
|
<div
|
||||||
|
class="absolute top-0 left-0 w-full h-6 bg-gray-900 bg-opacity-50 draggable"
|
||||||
|
></div>
|
||||||
<div class="m-auto flex flex-col">
|
<div class="m-auto flex flex-col">
|
||||||
<div class=" flex justify-center mb-3">
|
<div class=" flex justify-center mb-3">
|
||||||
<img
|
<img
|
||||||
@@ -45,3 +48,9 @@
|
|||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.draggable {
|
||||||
|
-webkit-app-region: drag;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user