Stage 17 round 6 fixes: pin the nudge button right; schematic USSR flag emblem
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Successful in 8s
CI / integration (pull_request) Successful in 11s
CI / ui (pull_request) Successful in 30s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m7s

- Chat: always render the (possibly empty) flex:1 caption before the nudge button, so the
  nudge stays pinned right whether or not the cooldown text shows (it drifted left when
  available).
- USSR flag: redraw the hammer & sickle as a thin schematic sketch — an elongated
  semicircle sickle with a handle, crossed by a T-shaped hammer (per the original's
  structure), instead of the bold over-filled emblem; the star is a touch smaller.
This commit is contained in:
Ilia Denisov
2026-06-07 12:10:52 +02:00
parent d3657fdf5c
commit 35666e1705
2 changed files with 12 additions and 8 deletions
+10 -7
View File
@@ -1,11 +1,14 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 16" role="img" aria-label="СССР">
<rect width="24" height="16" fill="#cc0000"/>
<g fill="#ffd700">
<!-- five-pointed star -->
<path d="M6 1.9l.9 1.83 2.02.29-1.46 1.42.35 2.01L6 6.5l-1.81.94.35-2.01L3.08 4.01l2.02-.29z"/>
<!-- sickle (crescent blade) -->
<path d="M4.4 6.2A3.3 3.3 0 1 0 8 9.8 2.4 2.4 0 1 1 4.4 6.2Z"/>
<!-- hammer (handle + head) -->
<path d="M6.1 7.1l1.5 1.5-2.8 2.8-1.5-1.5zM6.9 6.0l1.9 1.9-.95.95-1.9-1.9z"/>
<!-- five-pointed star (filled, slightly smaller) -->
<path fill="#ffd700" d="M6 2.4l.78 1.6 1.76.26-1.27 1.24.3 1.75L6 6.63l-1.57.82.3-1.75L3.46 4.5l1.76-.26z"/>
<!-- schematic hammer & sickle (a sketch, thin strokes) -->
<g fill="none" stroke="#ffd700" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round">
<!-- sickle: an elongated semicircle blade with a short handle -->
<path d="M8.2 7.4a3 3 0 1 1-3.3 3.9"/>
<path d="M4.9 11.3l-.8.7"/>
<!-- hammer: a T-shape (handle + head) crossing the sickle -->
<path d="M5.1 11 8.1 8"/>
<path d="M7.2 7.1 9 8.9"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 531 B

After

Width:  |  Height:  |  Size: 760 B

+2 -1
View File
@@ -57,7 +57,8 @@
/>
<button class="iconbtn" onclick={send} disabled={busy} aria-label={t('chat.send')}>⬆️</button>
{:else}
{#if nudgeOnCooldown}<span class="cooldown">{t('chat.awaitingReply')}</span>{/if}
<!-- A flex:1 caption keeps the nudge pinned right whether or not the cooldown text shows. -->
<span class="cooldown">{nudgeOnCooldown ? t('chat.awaitingReply') : ''}</span>
<button class="iconbtn" onclick={onnudge} disabled={busy || nudgeOnCooldown} aria-label={t('chat.nudgeAction')}>🛎️</button>
{/if}
</div>