pinokiod 3.195.0 → 3.197.0
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 +1 -1
- package/server/index.js +2 -0
- package/server/public/common.js +3 -3
- package/server/public/nav.js +2 -0
- package/server/public/style.css +2 -0
package/package.json
CHANGED
package/server/index.js
CHANGED
package/server/public/common.js
CHANGED
|
@@ -2168,9 +2168,9 @@ document.addEventListener("DOMContentLoaded", () => {
|
|
|
2168
2168
|
setTabTooltips();
|
|
2169
2169
|
initTippy();
|
|
2170
2170
|
|
|
2171
|
-
if (window !== window.top) {
|
|
2172
|
-
document.body.removeAttribute("data-agent")
|
|
2173
|
-
}
|
|
2171
|
+
// if (window !== window.top) {
|
|
2172
|
+
// document.body.removeAttribute("data-agent")
|
|
2173
|
+
// }
|
|
2174
2174
|
|
|
2175
2175
|
// Listen for window resize
|
|
2176
2176
|
window.addEventListener('resize', updateAllTooltips);
|
package/server/public/nav.js
CHANGED
|
@@ -475,6 +475,8 @@ document.addEventListener("DOMContentLoaded", () => {
|
|
|
475
475
|
const inspectorButton = document.querySelector('#inspector');
|
|
476
476
|
const isDesktop = agent === 'electron';
|
|
477
477
|
|
|
478
|
+
console.log({ agent, isDesktop })
|
|
479
|
+
|
|
478
480
|
if (inspectorButton && !isDesktop) {
|
|
479
481
|
const message = 'The 1-click inspect feature is only available inside the Pinokio desktop app.';
|
|
480
482
|
|
package/server/public/style.css
CHANGED
|
@@ -2702,9 +2702,11 @@ body.dark .mode-selector .btn2.selected {
|
|
|
2702
2702
|
top: 26px;
|
|
2703
2703
|
}
|
|
2704
2704
|
}
|
|
2705
|
+
/*
|
|
2705
2706
|
body[data-agent='electron'] {
|
|
2706
2707
|
padding-top: 26px;
|
|
2707
2708
|
}
|
|
2709
|
+
*/
|
|
2708
2710
|
body.dark #dropdown-portal .dropdown-content {
|
|
2709
2711
|
background: rgb(34, 34, 34);
|
|
2710
2712
|
}
|