Changeset 749c183 in Klonkt for src/assets/css


Ignore:
Timestamp:
06/24/2026 03:06:21 PM (3 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
0dba092
Parents:
f2fff7e
Message:

style(activitypub): fixed CTA row height so the reply field doesn't shift content

post-fediverse-cta gets a min-height + the form loses its top margin, so swapping
button<->field keeps the row height constant (no vertical jump).

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/assets/css/style.css

    rf2fff7e r749c183  
    44194419
    44204420/* Reply-via-fediverse CTA on post pages */
    4421 .post-fediverse-cta { margin: 1.75rem 0; }
     4421.post-fediverse-cta { margin: 1.75rem 0; display: flex; align-items: center; min-height: 2.4rem; }
    44224422.fedi-remote-reply-btn { display: inline-flex; align-items: center; gap: .45rem; }
    44234423.post-fediverse-cta .fedi-remote-reply-btn {
     
    44324432
    44334433/* Inline "reply via fediverse" address form (replaces the browser prompt) */
    4434 .fedi-remote-form { display: inline-flex; align-items: center; gap: .4rem; margin: .55rem 0 0; flex-wrap: wrap; }
     4434.fedi-remote-form { display: inline-flex; align-items: center; gap: .4rem; margin: 0; flex-wrap: wrap; }
    44354435.fedi-remote-form input {
    44364436  height: 2.2rem; padding: 0 .9rem; border-radius: 999px; font: inherit; min-width: 230px;
Note: See TracChangeset for help on using the changeset viewer.