Blastitt / twitControl

Twitter Interface module for MagicMirror2
MIT License
9 stars 2 forks source link

new Tweets on top / smaller font? #9

Closed vimsi closed 7 years ago

vimsi commented 7 years ago

Hey Blastitt, is there any chance to make the font of the tweets smaller (for lower res displays) so that you can read the complete tweet. And could you please let the newest tweet be on top and teh older ones below?new->old order I wish i could do it by my own but i have no idea how to... :(

Blastitt commented 7 years ago

Hi vimsi,

I've stopped supporting this project for the time being (I might come back to it later when I have more time). The font size should be an easy fix if you want to do it yourself, though. On line 58 of twitControl.js, add the word small to the list of space separated CSS classes. This should make the tweet text the same size as the author. I think there's also medium and large, so you can play around with sizes.

The tweet ordering is an even easier thing to modify. On line 55 of twitControl.js, just change this.tweets to this.tweets.reverse().

When I get a chance, I'll officially add these features as options that you can toggle on/off in the config of the module so you don't have to edit the code yourself.

vimsi commented 7 years ago

Thank You so much for this!!!! You Are Great!

Am 08.10.2017 um 17:08 schrieb Blastitt notifications@github.com:

Hi vimsi,

I've stopped supporting this project for the time being (I might come back to it later when I have more time). The font size should be an easy fix if you want to do it yourself, though. On line 58 of twitControl.js, add the word small to the list of space separated CSS classes. This should make the tweet text the same size as the author. I think there's also medium and large, so you can play around with sizes.

The tweet ordering is an even easier thing to modify. On line 55 of twitControl.js, just change this.tweets to this.tweets.reverse().

When I get a chance, I'll officially add these features as options that you can toggle on/off in the config of the module so you don't have to edit the code yourself.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.