commit ffa10a5a4815527290a1737288b6063e76766f89
parent 623223f34f972f95f787d391b8850a6edd550ff4
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date: Tue, 15 Oct 2024 23:09:59 -0700
Float selection operations (#selOps) to the right
This makes things a little less cluttered and removes any need for
the "Selection: " label, which has been removed.
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/files/floorplans/floorplan/main.css b/files/floorplans/floorplan/main.css
@@ -38,6 +38,10 @@ header > .toolbar > li {
padding-right: 1em;
}
+#selOps {
+ float: right;
+}
+
#selOps > * {
margin: 0 .5em;
display: inline;
diff --git a/files/floorplans/floorplan/main.js b/files/floorplans/floorplan/main.js
@@ -256,7 +256,6 @@ function selectHandler(event, editor, state) {
selectHandler(event, editor, state)
}
- c.appendChild(document.createTextNode("Selection: "))
c.append(ui.input("Delete", "Delete selected objects", {
attributes: { type: "button", value: "Delete" },
handlers: { click: function() {