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