Changeset f46f2be in Klonkt


Ignore:
Timestamp:
06/26/2026 02:41:40 PM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
8c4bfcc
Parents:
c0e00a2
Message:

style(ios): reduce fedi-tabs top headroom on mobile (1.5rem -> .5rem above safe-area)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/partials/fedi-tabs.ejs

    rc0e00a2 rf46f2be  
    3131  background: var(--accent, #e8b04b); color: #fff; font-size: .66rem; line-height: 1.5; text-align: center; }
    3232/* Mobile: no desktop top-nav here, so clear the camera/notch + give headroom. */
    33 @media (max-width: 767px) { .fedi-tabs { margin-top: calc(1.5rem + env(safe-area-inset-top, 0px)); } }
     33@media (max-width: 767px) { .fedi-tabs { margin-top: calc(.5rem + env(safe-area-inset-top, 0px)); } }
    3434@media (max-width: 520px) { .fedi-tab { padding: .55rem .25rem; font-size: .82rem; } }
    3535@media (max-width: 380px) { .fedi-tab { font-size: .74rem; } }
Note: See TracChangeset for help on using the changeset viewer.