fix(chat): make group-chat author labels readable
Author name above group bubbles was 8px dim-grey pixel font — visible in theory, invisible in practice. Bump to 10px semibold accent, left-aligned above the incoming bubble it labels. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
6aa555cc6a
commit
8cd6015cad
3 files changed
+12
-8
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
define('APP_NAME', 'hyprcrd');
|
define('APP_NAME', 'hyprcrd');
|
||||||
define('APP_VERSION', '1.9.4');
|
define('APP_VERSION', '1.9.5');
|
||||||
|
|
||||||
// Database path — writable directory, outside webroot
|
// Database path — writable directory, outside webroot
|
||||||
// DB_PATH / UPLOAD_DIR can be pre-defined by the Electron router for app isolation
|
// DB_PATH / UPLOAD_DIR can be pre-defined by the Electron router for app isolation
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hyprcrd",
|
"name": "hyprcrd",
|
||||||
"version": "1.9.4",
|
"version": "1.9.5",
|
||||||
"description": "hyprcrd — self-hosted card manager",
|
"description": "hyprcrd — self-hosted card manager",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -447,13 +447,17 @@
|
|||||||
.chat-room-info-body .btn:hover { border-color: var(--t-accent); color: var(--t-accent); }
|
.chat-room-info-body .btn:hover { border-color: var(--t-accent); color: var(--t-accent); }
|
||||||
.chat-room-info-body .btn.danger:hover { border-color: var(--t-danger); color: var(--t-danger); }
|
.chat-room-info-body .btn.danger:hover { border-color: var(--t-danger); color: var(--t-danger); }
|
||||||
|
|
||||||
/* Author name above group-thread bubbles. */
|
/* Author name above group-thread bubbles. Shown only when the author
|
||||||
|
changes, so consecutive bubbles from the same person aren't repeated.
|
||||||
|
Left-aligned so it sits above the left-aligned incoming bubble. */
|
||||||
.chat-bubble-author {
|
.chat-bubble-author {
|
||||||
font-family: var(--t-font-pixel);
|
align-self: flex-start;
|
||||||
font-size: 8px;
|
font-size: 10px;
|
||||||
color: var(--t-dim);
|
font-weight: 600;
|
||||||
margin-top: 4px;
|
color: var(--t-accent2, var(--t-accent));
|
||||||
padding-left: 2px;
|
margin-top: 6px;
|
||||||
|
padding: 0 2px;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Peer-tab variant for rooms — group icon instead of initial. */
|
/* Peer-tab variant for rooms — group icon instead of initial. */
|
||||||
|
|||||||
Reference in new issue
Block a user