Commit 46c8aeb8 by Simon

Fix beug frontend

parent 8beecaf4
......@@ -42,7 +42,7 @@
border-right: none;
}
.doodle-table thead tr th:last-child {
.doodle-table.backend thead tr th:last-child {
border-right: none;
min-width: 130px;
max-width: 145px;
......
......@@ -28,6 +28,8 @@
this.getHours();
this.createTable();
this.initCSS();
//Remet l'overflow pour le responsive en front
$('table').parent().css('overflow-x', 'auto');
......@@ -52,6 +54,11 @@
`);
};
this.initCSS = function() {
$('.empty').css('background', '#fafafa')
};
/**
* Create table header for hours
* @returns {string}
......@@ -88,7 +95,7 @@
if(this.json[index].includes(this.hours[key]))
html = '<td>' + createInputBox(this.hours[key], index) + '</td>';
else
html = '<td></td>';
html = '<td class="empty"></td>';
$td.append(html);
}
......
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