1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 01:25:56 +00:00

css cleanup, combined mode, fonts

This commit is contained in:
Andrew Dolgov
2021-03-11 14:32:15 +03:00
parent de47082ca6
commit 755072de91
11 changed files with 1475 additions and 1096 deletions

View File

@@ -388,6 +388,8 @@ const Headlines = {
container.addClassName(App.isCombinedMode() ? "cdm" : "normal");
container.setAttribute("data-enable-grid", App.getInitParam("cdm_enable_grid") ? "true" : "false");
container.setAttribute("data-headlines-count", parseInt(headlines_count));
container.setAttribute("data-is-cdm", App.isCombinedMode() ? "true" : "false");
container.setAttribute("data-is-cdm-expanded", App.getInitParam("cdm_expanded"));
// for floating title because it's placed outside of headlines-frame
App.byId("main").removeClassName("expandable");
@@ -462,11 +464,6 @@ const Headlines = {
this.vgroup_last_feed = hl.feed_id;
}
const container = App.byId("headlines-frame");
container.setAttribute("data-is-cdm", App.isCombinedMode() ? "true" : "false");
container.setAttribute("data-is-cdm-expanded", App.getInitParam("cdm_expanded"));
if (App.isCombinedMode()) {
row_class += App.getInitParam("cdm_expanded") ? " expanded" : " expandable";