KristjanESPERANTO / MMM-PublicTransportHafas

This is a module for MagicMirror² to display public transport departures.
MIT License
21 stars 6 forks source link

How to resize whole output #172

Closed drtorchwood closed 2 months ago

drtorchwood commented 2 months ago

Hi,

I really like the new design of this branch. I have only one question: How can easily decrease the size of the whole visual? Is there a global option that only applies to this module?

Best, jan

KristjanESPERANTO commented 2 months ago

There is no global option. You have to tweak your custom.css.

Try this and add the following lines to your custom.css:

.mmm-pth-table {
  font-size: 1.5rem;
}
drtorchwood commented 2 months ago

Thanks. That was the proper hint. I now use the zoom parameter, which also worked. Previously, I thought that I have to change the module's css file.

KristjanESPERANTO commented 2 months ago

I'm glad it helped you :slightly_smiling_face:

It is advisable not to touch the modules code, otherwise you will have problems updating them later. That's what custum.css is for.