diff --git a/edit.html b/edit.html index d5473844..3e976788 100644 --- a/edit.html +++ b/edit.html @@ -81,6 +81,16 @@ #name { width: 100%; } + #basic-info-name { + display: flex; + align-items: center; + } + #url { + margin-left: 0.25rem; + } + #url:not([href^="http"]) { + display: none; + } #enabled { margin-left: 0; vertical-align: middle; @@ -353,6 +363,7 @@
+
diff --git a/edit.js b/edit.js index d5be1c5b..69a9f62c 100644 --- a/edit.js +++ b/edit.js @@ -746,6 +746,7 @@ function init() { function initWithStyle(style) { document.getElementById("name").value = style.name; document.getElementById("enabled").checked = style.enabled == "true"; + document.getElementById("url").href = style.url; tE("heading", "editStyleHeading", null, false); // if this was done in response to an update, we need to clear existing sections document.querySelectorAll("#sections > div").forEach(function(div) {