Skip to content

The Unified and Autonomous Development Platform

Minor build spec editor css improvement

Robin Shenc2261f5731a0
diff --git a/server-core/src/main/java/io/onedev/server/web/editable/beanlist/BeanListPropertyViewer.java b/server-core/src/main/java/io/onedev/server/web/editable/beanlist/BeanListPropertyViewer.java
index e30ffc47a4..afe24d7bb8 100644
--- a/server-core/src/main/java/io/onedev/server/web/editable/beanlist/BeanListPropertyViewer.java
+++ b/server-core/src/main/java/io/onedev/server/web/editable/beanlist/BeanListPropertyViewer.java
@@ -76,6 +76,7 @@ public class BeanListPropertyViewer extends Panel {
}
});
+
table.add(new ListView<Serializable>("rows", elements) {
@Override
diff --git a/server-core/src/main/java/io/onedev/server/web/editable/job/paramspec/param-spec.css b/server-core/src/main/java/io/onedev/server/web/editable/job/paramspec/param-spec.css
index 9429803d4e..8b7b4c4543 100644
--- a/server-core/src/main/java/io/onedev/server/web/editable/job/paramspec/param-spec.css
+++ b/server-core/src/main/java/io/onedev/server/web/editable/job/paramspec/param-spec.css
@@ -1,3 +1,21 @@
+.floating.param-spec .property-choices table tr:first-child td {
+ border-top: 1px dashed var(--secondary);
+ border-top-left-radius: 0.42rem;
+}
+.floating.param-spec .property-choices table td.property-value {
+ border-right: 1px dashed var(--secondary);
+}
+.floating.param-spec .property-choices table tr:first-child td.property-value {
+ border-top-right-radius: 0.42rem;
+}
+.floating.param-spec .property-choices table tr:last-child td.property-value {
+ border-bottom-right-radius: 0.42rem;
+}
+.param-spec-edit .property-choices tr:first-child td {
+ border-top: 1px dashed var(--secondary);
+ border-radius: 0.42rem 0.42rem 0 0;
+}
+.floating.param-spec .property-choices thead, .param-spec-edit .property-choices thead,
.floating.param-spec .property-color, .param-spec-edit .property-color {
display: none;
-}
\ No newline at end of file
+}