Changeset dee7f02 in Klonkt for src/views/partials
- Timestamp:
- 06/26/2026 03:03:03 PM (2 months ago)
- Branches:
- main
- Children:
- 7ca3ffc
- Parents:
- 474a5ed
- File:
-
- 1 edited
-
src/views/partials/fedi-tabs.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/fedi-tabs.ejs
r474a5ed rdee7f02 19 19 <style> 20 20 /* All 5 tabs share the width equally and always fit (truncate with ellipsis if needed). */ 21 .fedi-tabs { display: flex; margin: 1.25rem 0 1.5rem;21 .fedi-tabs { display: flex; margin: 0 0 1.25rem; 22 22 border-bottom: 1px solid color-mix(in srgb, var(--ink, #000) 10%, transparent); } 23 23 .fedi-tab { flex: 1 1 0; min-width: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; … … 30 30 .fedi-tab-badge { flex: 0 0 auto; min-width: 1.15em; padding: 0 .3em; border-radius: 999px; 31 31 background: var(--accent, #e8b04b); color: #fff; font-size: .66rem; line-height: 1.5; text-align: center; } 32 /* Mobile: no extra headroom — only the iOS safe-area inset to clear the notch. */33 @media (max-width: 767px) { .fedi-tabs { margin-top: env(safe-area-inset-top, 0px); } }34 32 @media (max-width: 520px) { .fedi-tab { padding: .55rem .25rem; font-size: .82rem; } } 35 33 @media (max-width: 380px) { .fedi-tab { font-size: .74rem; } }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)