Android only fonts size

Hi!
Is it possible to change the custom css only for the Android app?
I think the fonts are small for my screen and I would like to be able to resize it.

I think there is no special class to target Android yet. It is hard to check though :wink:

You can use various media queries, e.g. detect a narrow screen (less than 700px):

@media (max-width: 700px) {
  .rem-text:not(.rem-header--1):not(.rem-header--2):not(.rem-header--3) {
    font-size: 20px;
  }
}

Other queries like these could also work:

  • portrait mode
  • matching your devices device-width and/or device-height exactly
  • aspect-ratio

See Using media queries - CSS: Cascading Style Sheets | MDN

1 Like