lavolp3 / MMM-AVStock

MagicMirror module for displaying stock price with yfinance API
MIT License
39 stars 18 forks source link

smaller layout? #14

Closed GoodWillGustin closed 4 years ago

GoodWillGustin commented 4 years ago

Is it possible to have the 'ticker' style (name, price, amt change) in a static view like table or series? I want this to take up less space, meaning that I will only have a few stocks and want them to stack vertically with the minimal info. (Having only 3 stocks scrolling by on a ticker looks silly on my MM.)

eouia commented 4 years ago

In Tabel View; You can hide column by modifying css/custom.css like this.

#AVSTOCK_TABLE .changeP{
  display:none;
}

It will hide CHG% column. All the selectors of columns are these; symbol, price, close, change, changeP, volume.

If you want to adjust size; It could be done also with CSS


#AVSTOCK_TABLE {
  width: 250px;
  font-size: 12px;
}
GoodWillGustin commented 4 years ago

I guess my question is, is there a way to make the 'ticker' stay still instead of scrolling across the screen? I would like a fixed-position view in that layout style.

eouia commented 4 years ago

Without source modification, impossible. Sorry.