headlines-spacer: only set 100% height if auto catchup is enabled
This commit is contained in:
parent
42780ddeb3
commit
5e007e0090
|
@ -819,8 +819,10 @@ body.ttrss_main .player:hover {
|
|||
background: #f5f5f5;
|
||||
cursor: pointer;
|
||||
}
|
||||
body.ttrss_main #headlines-spacer {
|
||||
body.ttrss_main #headlines-frame.auto_catchup #headlines-spacer {
|
||||
height: 100%;
|
||||
}
|
||||
body.ttrss_main #headlines-spacer {
|
||||
margin-left: 1px;
|
||||
text-align: center;
|
||||
color: #555555;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -962,8 +962,11 @@ body.ttrss_main {
|
|||
cursor : pointer;
|
||||
}
|
||||
|
||||
#headlines-spacer {
|
||||
#headlines-frame.auto_catchup #headlines-spacer {
|
||||
height : 100%;
|
||||
}
|
||||
|
||||
#headlines-spacer {
|
||||
margin-left : 1px;
|
||||
text-align : center;
|
||||
color : @default-text;
|
||||
|
|
|
@ -317,6 +317,10 @@ define(["dojo/_base/declare"], function (declare) {
|
|||
case "label_base_index":
|
||||
_label_base_index = parseInt(params[k]);
|
||||
break;
|
||||
case "cdm_auto_catchup":
|
||||
if (params[k] == 1)
|
||||
$("headlines-frame").addClassName("auto_catchup");
|
||||
break;
|
||||
case "hotkeys":
|
||||
// filter mnemonic definitions (used for help panel) from hotkeys map
|
||||
// i.e. *(191)|Ctrl-/ -> *(191)
|
||||
|
|
|
@ -819,8 +819,10 @@ body.ttrss_main .player:hover {
|
|||
background: #222222;
|
||||
cursor: pointer;
|
||||
}
|
||||
body.ttrss_main #headlines-spacer {
|
||||
body.ttrss_main #headlines-frame.auto_catchup #headlines-spacer {
|
||||
height: 100%;
|
||||
}
|
||||
body.ttrss_main #headlines-spacer {
|
||||
margin-left: 1px;
|
||||
text-align: center;
|
||||
color: #cccccc;
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue