Commit b52210da authored by HERBERT Ryan's avatar HERBERT Ryan Committed by Vidjil Team

js/builder.js centering some elements in sample details

parent 29d2a3b3
......@@ -427,6 +427,7 @@ Builder.prototype = {
sample_div.appendChild(infoTime)
var div_point = this.build_info_line("info_point", this.m.getStrTime(this.m.t, "name") )
div_point.className += " centered"
sample_div.appendChild(div_point)
var div_date = this.build_info_line("info_date", this.m.getStrTime(this.m.t, "sampling_date") )
......@@ -469,7 +470,7 @@ Builder.prototype = {
var previousTime = self.createClickableElem('span',
[document.createTextNode("<")],
"",
"previous_button button_right",
"previous_button button",
function () {
self.m.previousTime();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment