[projects/pld-builder.new] queue.html: the builder label as high as its row

arekm arekm at pld-linux.org
Thu Nov 12 13:44:20 CET 2026


commit 1441f34cbdca91573ff3b27ed62cabe5748672c3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 12 13:43:25 2026 +0100

    queue.html: the builder label as high as its row
    
    The grey label ended short of the row, also for a waiting builder with
    an empty second line. The row's spacing is now inside the cells, which
    take the full row height.

 PLD_Builder/style.css | 34 +++++++++++++++++++++++++++++-----
 1 file changed, 29 insertions(+), 5 deletions(-)
---
diff --git a/PLD_Builder/style.css b/PLD_Builder/style.css
index a60f353..4f8a7e8 100644
--- a/PLD_Builder/style.css
+++ b/PLD_Builder/style.css
@@ -173,9 +173,10 @@ h2 {
 }
 
 /* a batch in one row: what to build, its builders beside it */
+/* the space above and below is inside what and the builders, so the label of a builder reaches the edges */
 .batch {
 	align-items: baseline;
-	padding: 3px 12px;
+	padding: 0 12px;
 }
 
 .batch + .batch {
@@ -185,7 +186,7 @@ h2 {
 .what {
 	grid-column: 1;
 	overflow-wrap: anywhere;
-	padding-right: 12px;
+	padding: 3px 12px 3px 0;
 }
 
 .what b {
@@ -211,24 +212,37 @@ h2 {
 	word-break: break-word;
 }
 
+/* as high as the row, when what to build takes more lines */
 .builders {
+	align-self: stretch;
 	grid-column: 2 / -2;
 }
 
 /* a builder in the two lines of a batch: name, status with duration and log, under the status start and
    end; all builders the same width, so a glance down the page finds each thing in one place */
+/* status, start and end at the top, whatever the height of the row: the last row takes the rest */
 .builder {
-	align-content: start;
 	align-items: baseline;
 	border-left: 1px solid #dde1e5;
 	column-gap: 8px;
 	display: grid;
 	grid-template-columns: 80px 1fr;
+	grid-template-rows: auto auto 1fr;
 	padding: 0 12px;
 }
 
+.builder > .state {
+	padding-top: 3px;
+}
+
 .builder > .span {
 	grid-column: 2;
+	padding-bottom: 3px;
+}
+
+/* a builder still waiting has no start and end, but keeps the line, so its name is in the middle as in the others */
+.builder > .span:empty::before {
+	content: "\a0";
 }
 
 .batch.command .builders {
@@ -257,7 +271,8 @@ h2 {
 	align-self: stretch;
 	background: #e6eaee;
 	display: flex;
-	grid-row: 1 / 3;
+	/* the status, start and end, and in the legend what it all means */
+	grid-row: 1 / span 3;
 	margin-left: -12px;
 	padding: 0 8px 0 12px;
 	color: #22303f;
@@ -327,7 +342,7 @@ h2 {
 	color: #444;
 	contain: inline-size;
 	font-size: 13px;
-	grid-column: 1 / -1;
+	grid-column: 2;
 	margin: 0 0 6px;
 }
 
@@ -358,6 +373,15 @@ h2 {
 		margin: 0;
 		padding: 0 6px;
 	}
+
+	.batch {
+		padding: 3px 12px;
+	}
+
+	.what, .builder > .state, .builder > .span {
+		padding-top: 0;
+		padding-bottom: 0;
+	}
 }
 
 @media (max-width: 700px) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/1441f34cbdca91573ff3b27ed62cabe5748672c3



More information about the pld-cvs-commit mailing list