pinokiod 3.20.4 → 3.20.6

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.20.4",
3
+ "version": "3.20.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -774,6 +774,9 @@ body.dark .mode-selector .btn2.selected {
774
774
  .mode-selector .btn2.selected {
775
775
  background: rgba(0,0,0,0.04);
776
776
  }
777
+ .mode-selector {
778
+ display: flex;
779
+ }
777
780
  .mode-selector .btn2 {
778
781
  padding: 10px 0;
779
782
  min-width: 40px;
@@ -660,8 +660,11 @@ document.querySelector(".changes").addEventListener("click", (e) => {
660
660
  }
661
661
  }
662
662
  if (href) {
663
- document.querySelector("#term").classList.remove("hidden")
664
- window.open(href, "terminal")
663
+ let c = confirm("are you sure? this will reset the file to the previous version.")
664
+ if (c) {
665
+ document.querySelector("#term").classList.remove("hidden")
666
+ window.open(href, "terminal")
667
+ }
665
668
  }
666
669
  })
667
670
  document.querySelector("aside").addEventListener("click", (e) => {
@@ -22,6 +22,9 @@
22
22
  padding: 0;
23
23
  box-sizing: border-box;
24
24
  }
25
+ #terminal {
26
+ margin-top: 50px;
27
+ }
25
28
  #create-button {
26
29
  width: 100%;
27
30
  background: royalblue;