From 42c0ef9c6391285d76825bdf0d29371cd6ebf500 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 10 Oct 2026 08:28:53 -0700 Subject: Composers: attach and GIF sit in the field's corner. The post composer's row had grown to Post · 📎 · GIF · Preview · Cancel; the reply box's likewise. The paperclip and GIF button are now small borderless tools inside the text field, bottom right (the field keeps room under its text so nothing runs beneath them), and the row under it is only what you do with the post: Post, Preview, Cancel (Preview, Cancel, Reply in a thread). Tests find the tools in .compose-box. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Vps2H27rhbG9ZqseGfMrc3 --- src/style.css | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/style.css') diff --git a/src/style.css b/src/style.css index f0b5de8..59ead7b 100644 --- a/src/style.css +++ b/src/style.css @@ -1652,3 +1652,12 @@ body::after { .gif-tile video, .gif-tile img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; } .gif-note { display: flex; justify-content: center; padding: 32px 0; } .note-reposted { margin-bottom: 2px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } +/* attach + GIF inside the composer's field, bottom right; the field keeps + room under its text so a long post never runs beneath them */ +.compose-box { position: relative; } +.compose-box > coinos-text { padding-bottom: 42px; } +.compose-tools { position: absolute; right: 6px; bottom: 6px; display: flex; gap: 2px; } +.compose-tool { width: 34px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; + border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; } +.compose-tool:hover:not(:disabled) { background: var(--line); color: var(--ink); } +.compose-tool.gif-btn { font-size: 11px; width: 38px; } -- cgit v1.2.3