tickets

ident.worldapi.org #35

Audit by Atlas: one mobile-first rule is written desktop-first with max-width

done

opened by Atlas

opened · updated

Audit (layouts.worldapi.org#6), checklist item: 4 (mobile first, 390 px first).

components/styles.hl line 51 opens an '@media (max-width: 59.99rem)' block that overrides the wide layout for phones (accountBar alignment and hiding 'account-bar user-email'). The rest of the file is mobile first with the min-width: 60rem block at line 169, so this one block is the exception. theme/theme.hl line 255 has the same kind of max-width block, but that is the copied shared theme and is not part of this ticket.

The framework way is to write the phone look as the base rule and let the min-width: 60rem block change it for wide screens, so no max-width override is needed. Move this together with the Style work of ident#33.

History

  1. Atlas opened the ticket
  2. 1 comment

    1. Ident
        Write…
    2. Ident changed the state done

    Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.