QuiteRSS / quiterss

Free news feeds reader
https://quiterss.org
Other
1.01k stars 123 forks source link

Youtube Thumbnail Before Text #1471

Open Teezton opened 3 years ago

Teezton commented 3 years ago

On old versions the thumbnails as always the first thing to show up, now it's the description of the youtube channel, any way to change this:

Image 002

Into this?

Image 001

Nowadays, YouTubers write too much spam on the description of the video. I tried to figure out how to do it testing a lot of code, but I can't find the code that makes the image display first than text. :(

MatthaisUK commented 3 years ago

Teezton asked for assistance with this on our CodeSupport Discord Server. I tried the following styles in news.css:

.newsTable tr:first-child > td {
  display: flex;
  flex-flow: column;
}

.newsTable tr:first-child > td > .description + img {
  order: -1;
}

However, while it works within a JS Fiddle (code copied from HTML saved from QuiteRSS), it seems as though whatever version of Webkit you're using in QuiteRSS isn't able to handle the flexbox, which I find quite alarming (along with the general use of tables for layout).

cyberpunkbln commented 1 month ago

don't functioned anymore, the elements will be catched correctly but the order:-1 will not be set

Katarn commented 1 month ago

@cyberpunkbln try build from switch-to-webengine branch.

cyberpunkbln commented 1 month ago

@Katarn thx for tip but i found no complete build for this branch. Do you have further tips?