diff --git a/lib/devtools.js b/lib/devtools.js index 49f9741..b24fc70 100644 --- a/lib/devtools.js +++ b/lib/devtools.js @@ -30,6 +30,27 @@ customElements.define('developer-tooling', class extends HTMLElement { #change-port-show { display: none; } + #change-port-input { + width: 80px; + } + + /* hide up/down arrow for input type=number */ + input::-webkit-outer-spin-button, + input::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; + } + + .panels-wrapper { + display: flex; + gap: 30px; + } + .panel-left { + flex: 1; + } + .panel-right { + width: 400px; + } .hidden { display: none; @@ -70,14 +91,6 @@ customElements.define('developer-tooling', class extends HTMLElement { border-radius: 1px; white-space: nowrap; } - #remote-inspect-explain { - float:left; - max-width:55%; - } - #remote-inspect { - float:right; - max-width:40%; - } #server-message { font-size: 0.8rem; margin-top: 30px; @@ -122,8 +135,8 @@ customElements.define('developer-tooling', class extends HTMLElement {

Developer Tooling

-
-
+
+

Remotely inspect Pear applications.

Some application setup is required to enable remote debugging

Install the pear-inspect module into the application

@@ -141,7 +154,7 @@ customElements.define('developer-tooling', class extends HTMLElement {

When the application is opened in development mode the inspection key will be logged.

Paste the logged key into the input to add it. Then open in Chrome or copy the URL to a compatible inspect tool to view the remote target.

-
+
@@ -160,7 +173,13 @@ customElements.define('developer-tooling', class extends HTMLElement {
- +