week-header: simplify background drawing code

By moving the drawing area to a separate place, we're
able to avoid having to manually calculate the sidebar
width.

Also, because we can, the drawing code was simplified a
little bit by moving the bottom border to CSS.
This commit is contained in:
Georges Basile Stavracas Neto
2016-12-01 23:48:54 -02:00
parent 2298379e51
commit 16a2d64874
2 changed files with 14 additions and 34 deletions
+1
View File
@@ -363,6 +363,7 @@ datechooser day:selected:hover {
.week-header {
padding: 0px;
border-bottom: solid @borders 1px;
}
.week-header .month-name {