Browse Source

fix headlines-spacer height in grid mode

master
Andrew Dolgov 1 year ago
parent
commit
bdc72e5b63
  1. 5
      js/App.js
  2. 4
      themes/compact.css
  3. 4
      themes/compact_night.css
  4. 4
      themes/light.css
  5. 4
      themes/light/tt-rss.less
  6. 4
      themes/night.css
  7. 4
      themes/night_blue.css

5
js/App.js

@ -514,10 +514,7 @@ const App = {
this.LABEL_BASE_INDEX = parseInt(params[k]);
break;
case "cdm_auto_catchup":
if (params[k] == 1) {
const hl = App.byId("headlines-frame");
if (hl) hl.addClassName("auto_catchup");
}
App.byId("headlines-frame").setAttribute("data-auto-catchup", params[k] ? "true" : "false");
break;
case "hotkeys":
// filter mnemonic definitions (used for help panel) from hotkeys map

4
themes/compact.css

@ -853,8 +853,8 @@ body.ttrss_main .player:hover {
background: #f5f5f5;
cursor: pointer;
}
body.ttrss_main #headlines-frame.auto_catchup #headlines-spacer {
height: 100%;
body.ttrss_main #headlines-frame[data-auto-catchup="true"] #headlines-spacer {
height: 100vh;
}
body.ttrss_main #headlines-spacer {
margin-left: 1px;

4
themes/compact_night.css

@ -853,8 +853,8 @@ body.ttrss_main .player:hover {
background: #222;
cursor: pointer;
}
body.ttrss_main #headlines-frame.auto_catchup #headlines-spacer {
height: 100%;
body.ttrss_main #headlines-frame[data-auto-catchup="true"] #headlines-spacer {
height: 100vh;
}
body.ttrss_main #headlines-spacer {
margin-left: 1px;

4
themes/light.css

@ -853,8 +853,8 @@ body.ttrss_main .player:hover {
background: #f5f5f5;
cursor: pointer;
}
body.ttrss_main #headlines-frame.auto_catchup #headlines-spacer {
height: 100%;
body.ttrss_main #headlines-frame[data-auto-catchup="true"] #headlines-spacer {
height: 100vh;
}
body.ttrss_main #headlines-spacer {
margin-left: 1px;

4
themes/light/tt-rss.less

@ -997,8 +997,8 @@ body.ttrss_main {
cursor : pointer;
}
#headlines-frame.auto_catchup #headlines-spacer {
height : 100%;
#headlines-frame[data-auto-catchup="true"] #headlines-spacer {
height : 100vh;
}
#headlines-spacer {

4
themes/night.css

@ -854,8 +854,8 @@ body.ttrss_main .player:hover {
background: #222;
cursor: pointer;
}
body.ttrss_main #headlines-frame.auto_catchup #headlines-spacer {
height: 100%;
body.ttrss_main #headlines-frame[data-auto-catchup="true"] #headlines-spacer {
height: 100vh;
}
body.ttrss_main #headlines-spacer {
margin-left: 1px;

4
themes/night_blue.css

@ -854,8 +854,8 @@ body.ttrss_main .player:hover {
background: #222;
cursor: pointer;
}
body.ttrss_main #headlines-frame.auto_catchup #headlines-spacer {
height: 100%;
body.ttrss_main #headlines-frame[data-auto-catchup="true"] #headlines-spacer {
height: 100vh;
}
body.ttrss_main #headlines-spacer {
margin-left: 1px;

Loading…
Cancel
Save