Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 90fa0a7e95 | |||
| 767db72847 |
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@chat-app/desktop",
|
"name": "@chat-app/desktop",
|
||||||
"version": "0.18.7",
|
"version": "0.18.8",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Electron desktop client (Windows / macOS / Linux)",
|
"description": "Electron desktop client (Windows / macOS / Linux)",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -1310,9 +1310,13 @@ function Section({
|
|||||||
|
|
||||||
// Sub-heading inside a Section — used to chunk dense sections like Voice into
|
// Sub-heading inside a Section — used to chunk dense sections like Voice into
|
||||||
// smaller named groups (Audio-Gerät / Qualität / PTT / Hotkeys / E2EE).
|
// smaller named groups (Audio-Gerät / Qualität / PTT / Hotkeys / E2EE).
|
||||||
|
// No border: `--color-line` is already a semi-transparent token, and applying
|
||||||
|
// the `/60` opacity modifier brightens it (Tailwind overrides the original
|
||||||
|
// alpha) which made the sub-cards look harsher than the outer Section. Plain
|
||||||
|
// background tint + caps heading carry the grouping signal on their own.
|
||||||
function SubSection({ title, children }: { title: string; children: React.ReactNode }) {
|
function SubSection({ title, children }: { title: string; children: React.ReactNode }) {
|
||||||
return (
|
return (
|
||||||
<div className="space-y-2 rounded-xl border border-line/60 bg-surface-3/40 p-4">
|
<div className="space-y-2 rounded-xl bg-surface-3/50 p-4">
|
||||||
<h3 className="text-[11px] font-semibold uppercase tracking-[0.1em] text-fg-muted">
|
<h3 className="text-[11px] font-semibold uppercase tracking-[0.1em] text-fg-muted">
|
||||||
{title}
|
{title}
|
||||||
</h3>
|
</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user