pinokiod 3.18.0 → 3.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.18.0",
3
+ "version": "3.18.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -2129,7 +2129,16 @@ class Server {
2129
2129
 
2130
2130
  // 1. THEME
2131
2131
  this.theme = this.kernel.store.get("theme") || "light"
2132
- this.mode = this.kernel.store.get("mode") || "app"
2132
+ this.mode = this.kernel.store.get("mode") || "full"
2133
+
2134
+ // when loaded in electron but in minimal mode,
2135
+ // the app is loaded in the web so the agent should be "web"
2136
+ if (this.agent === "electron") {
2137
+ if (this.mode === "minimal") {
2138
+ this.agent = "web"
2139
+ }
2140
+ }
2141
+
2133
2142
  if (this.theme === "dark") {
2134
2143
  this.colors = {
2135
2144
  color: "rgb(27, 28, 29)",
@@ -222,9 +222,8 @@ body.dark .type-tabs {
222
222
  .navheader {
223
223
  backdrop-filter: blur(16px);
224
224
 
225
+ /*
225
226
  padding: 15px 10px 5px;
226
- /*
227
- padding: 15px;
228
227
  */
229
228
  }
230
229
  .navheader a:hover, .navheader button:hover {