From 751a37a1ffd34b257e75581fcb0412bbd8e49c28 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Thu, 31 Mar 2016 16:48:40 +1300 Subject: [PATCH] Arrange more properties in rows --- examples/html/edit-style.css | 12 +++- examples/html/entityProperties.html | 102 +++++++++++----------------- 2 files changed, 52 insertions(+), 62 deletions(-) diff --git a/examples/html/edit-style.css b/examples/html/edit-style.css index 31fb4ba4ec..0ca9e0b6fd 100644 --- a/examples/html/edit-style.css +++ b/examples/html/edit-style.css @@ -603,6 +603,8 @@ div.refresh input[type="button"] { .tuple div { display: inline-block; position: relative; + min-width: 120px; + min-height: 1px; } .tuple div:nth-child(1) { float: left; @@ -622,7 +624,15 @@ div.refresh input[type="button"] { .pyr .tuple input { padding-left: 45px; } -.tuple div label { + +.tuple div > label:first-child { + float: left; +} +.tuple div > label + input { + clear: both; + float: left; +} +.tuple div input + label { display: inline !important; float: none !important; position: absolute; diff --git a/examples/html/entityProperties.html b/examples/html/entityProperties.html index e64d519137..d6939d56ee 100644 --- a/examples/html/entityProperties.html +++ b/examples/html/entityProperties.html @@ -1455,13 +1455,12 @@ -
- - -
-
- - +
+
+
+
+
+
@@ -1479,10 +1478,6 @@
-
- - -
@@ -1614,16 +1609,11 @@
- - -
-
- - -
-
- - +
+
+
+
+
@@ -1698,14 +1688,11 @@
-
-
- - -
-
- - +
+
+
+
+
@@ -1721,29 +1708,24 @@
-
- - -
-
- - -
-
- - +
+
+
+
+
+
-
- - -
-
- - + +
+
+
+
+
+
@@ -1798,25 +1780,23 @@
-
- - -
-
- - +
+
+
+
+
+
-
- - -
-
- - +
+
+
+
+
+