aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-04-06 13:56:44 +0200
committerAleksandr Nogikh <wp32pw@gmail.com>2023-04-07 09:55:58 +0200
commit132eb7c803ad81798b4c6f36326e43cd0ba18b17 (patch)
tree9ba5e7a609da27dedc728a085aad20040457d647
parentc68ce9376c7995b5ed686ea7a6edf950937368d8 (diff)
dashboard: put cause and fix bisection info blocks closer
Align them horizontally instead of vertically. This will save space on the bug info page.
-rw-r--r--dashboard/app/bug.html7
-rw-r--r--pkg/html/pages/style.css12
2 files changed, 17 insertions, 2 deletions
diff --git a/dashboard/app/bug.html b/dashboard/app/bug.html
index bba14fb32..252b33ebd 100644
--- a/dashboard/app/bug.html
+++ b/dashboard/app/bug.html
@@ -33,8 +33,11 @@ Page with details about a single bug.
{{end}}
First crash: {{formatLateness $.Now $.Bug.FirstTime}}, last: {{formatLateness $.Now $.Bug.LastTime}}<br>
- {{template "bisect_results" .BisectCause}}
- {{template "bisect_results" .BisectFix}}
+ <div>
+ {{if .BisectCause}}<div class="bug-bisection-info">{{template "bisect_results" .BisectCause}}</div>{{end}}
+ {{if .BisectFix}}<div class="bug-bisection-info">{{template "bisect_results" .BisectFix}}</div>{{end}}
+ <div class="bug-bisection-stop"></div>
+ </div>
{{template "discussions_list" .Discussions}}
{{template "bug_list" .DupOf}}
diff --git a/pkg/html/pages/style.css b/pkg/html/pages/style.css
index a792d76be..09bcc90a0 100644
--- a/pkg/html/pages/style.css
+++ b/pkg/html/pages/style.css
@@ -330,3 +330,15 @@ aside {
.input-group button {
width: 20pt;
}
+
+.bug-bisection-info {
+ float:left;
+ margin-right: 15px;
+ margin-bottom: 5px;
+ padding: 5px;
+}
+
+.bug-bisection-stop {
+ clear: both;
+ margin-bottom: 10px;
+}