mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Let todo list in day view take full height
This commit is contained in:
parent
a71ab3b066
commit
60539797af
@ -1864,13 +1864,12 @@ app.classes.calendar = AppJS.extend(
|
||||
{
|
||||
if(state.state.view == 'day' && state.state.owner.length === 1 && !isNaN(state.state.owner) && state.state.owner[0] >= 0)
|
||||
{
|
||||
if(this.state.view !== 'day')
|
||||
{
|
||||
view.etemplates[0].widgetContainer.iterateOver(function(w) {
|
||||
w.set_width(w.div.width() * 0.7);
|
||||
},this,et2_calendar_timegrid);
|
||||
}
|
||||
$j(view.etemplates[1].DOMContainer).css("left","69%");
|
||||
|
||||
view.etemplates[0].widgetContainer.iterateOver(function(w) {
|
||||
w.set_width($j(view.etemplates[0].DOMContainer).width() * 0.69);
|
||||
},this,et2_calendar_timegrid);
|
||||
|
||||
$j(view.etemplates[1].DOMContainer).css({"left":"69%", "height":$j(framework.tabsUi.activeTab.contentDiv).height()+'px'});
|
||||
// TODO: Maybe some caching here
|
||||
this.egw.jsonq('calendar_uiviews::ajax_get_todos', [state.state.date, state.state.owner[0]], function(data) {
|
||||
this.getWidgetById('label').set_value(data.label||'');
|
||||
|
@ -595,7 +595,9 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget
|
||||
}
|
||||
.calendar_calDayTodos .calendar_calDayTodosTable {
|
||||
overflow: auto;
|
||||
max-height: 400px;
|
||||
position: absolute;
|
||||
top: 2em;
|
||||
bottom: 8px;
|
||||
}
|
||||
.calendar_calDayTodos {
|
||||
width: 98%;
|
||||
|
@ -922,10 +922,6 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget
|
||||
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
|
||||
background-color: inherit;
|
||||
}
|
||||
.calendar_calDayTodos .calendar_calDayTodosTable {
|
||||
overflow: auto;
|
||||
max-height: 400px;
|
||||
}
|
||||
.calendar_calDayTodos .calendar_calDayTodosTable table tr:nth-child(even) {
|
||||
background: #ffffff;
|
||||
}
|
||||
|
@ -1022,8 +1022,6 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget
|
||||
}
|
||||
}
|
||||
.calendar_calDayTodos .calendar_calDayTodosTable {
|
||||
overflow: auto;
|
||||
max-height: 400px;
|
||||
|
||||
table {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user