Hunter5000 / Twitch-Fox-Legacy

An addon for Mozilla Firefox that sets off an alarm when a followed Twitch.tv streamer goes online.
13 stars 5 forks source link

Lost formatting layout if game name missing... #18

Open thejustsoul opened 8 years ago

thejustsoul commented 8 years ago

The streamer not the game's name, the inscription "Online xx:xx:xx" moved higher. Is it possible to make the formatting was the same? image

Hunter5000 commented 8 years ago

This is actually working as intended I believe. All of the stream information is styled as inline blocks that try to stick on the same line if there is room for them.

Image

The name and the number of viewers are on the same line not because it is styled that way intentionally (although it was in versions pre-3.0.0), but because there is room to the right of the name to fit the element in. Likewise, the game and the time online are on the same line because there is room to fit both in one line.

If my interpretation of the issue is right, then this is not happening because of the game name missing, but because it formats like that.

thejustsoul commented 8 years ago

Before each element was on its own line and I just used. And 3.xx version was different, and I think before looked better (neater). If the title is too long, it could be shortened, for example by clicking expand to full name (as stream preview) and everything fits. If possible of course.