← Back to Kontasks
Breadcrumb CSS Order Fix
Fixed breadcrumb not hiding on wide screens due to CSS cascade order issue
Output
Breadcrumb CSS Order Fix
Fixed: Breadcrumb bar was visible on wide screens despite display: none rule
Root Cause
CSS Cascade Order Issue:
/* Line ~994 (BEFORE base rule) */ @media (min-width: 601px) { .kontask-preview-breadcrumb { display: none; /* This was ineffective! */ } } /* Line ~1033 (AFTER media query) */ .kontask-preview-breadcrumb { display: flex; /* Later rule WINS */ }
In CSS, when selectors have equal specificity, the later rule wins. The base display: flex was overriding the media query's display: none.
The Fix
Moved media query AFTER base styles:
/* Base styles first */ .kontask-preview-breadcrumb { display: flex; /* ... other styles ... */ } /* Media query AFTER base styles */ @media (min-width: 601px) { .kontask-preview-breadcrumb { display: none !important; /* Now it works! */ } }
Result
Before (800px foldable): ┌──────────────────────────────────────────────────────────────┐ │ [collapsed] | [• 13:37 👀 Review] | [timeline] │ │ bar | [kontask content ] | │ └──────────────────────────────────────────────────────────────┘ ↑ breadcrumb visible (wastes space) After (800px foldable): ┌──────────────────────────────────────────────────────────────┐ │ [collapsed] | [kontask content more room!]| [timeline] │ │ bar | [ ]| │ └──────────────────────────────────────────────────────────────┘ ↑ breadcrumb hidden, more content space
Commit
0456ba85 - Fix breadcrumb not hiding on wide screens (CSS order issue)
Action Required: Restart konui to apply the fix.
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
greatvibe
Tags
kontasksuicssfoldables
Created
11 Jan 2026, 1:40 pm
Updated
11 Jan 2026, 1:40 pm
Timing
⏱️ 127.3s
0 tools
● TTFE 0%
● Thinking 100%
● Tools 0%
Created By
claude
📋 Claude's Context
Session
ses_40728090...
🔗 Git Commit
0456ba85
Raw Data
{
"id": "7677309e-3e09-4501-9a1c-3c3b76d12a4e",
"type": "general",
"status": "completed",
"title": "Breadcrumb CSS Order Fix",
"description": "Fixed breadcrumb not hiding on wide screens due to CSS cascade order issue",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:'Consolas','Monaco',monospace;\">\n<h2 style=\"font-family:sans-serif;color:#fff;margin:0 0 16px 0;\">Breadcrumb CSS Order Fix</h2>\n\n<p style=\"color:#22c55e;margin:0 0 16px 0;\"><strong>Fixed:</strong> Breadcrumb bar was visible on wide screens despite <code style=\"background:#2d2d2d;padding:2px 6px;border-radius:4px;\">display: none</code> rule</p>\n\n<h3 style=\"color:#61afef;margin:16px 0 12px 0;font-family:sans-serif;\">Root Cause</h3>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<p style=\"margin:0 0 8px 0;\"><strong style=\"color:#ef4444;\">CSS Cascade Order Issue:</strong></p>\n<pre style=\"background:#252526;padding:12px;border-radius:4px;overflow-x:auto;margin:8px 0 0 0;line-height:1.6;\">\n<span style=\"color:#7f848e;\">/* Line ~994 (BEFORE base rule) */</span>\n<span style=\"color:#c678dd;\">@media</span> (min-width: 601px) {\n .kontask-preview-breadcrumb {\n display: <span style=\"color:#ef4444;\">none</span>; <span style=\"color:#7f848e;\">/* This was ineffective! */</span>\n }\n}\n\n<span style=\"color:#7f848e;\">/* Line ~1033 (AFTER media query) */</span>\n.kontask-preview-breadcrumb {\n display: <span style=\"color:#22c55e;\">flex</span>; <span style=\"color:#7f848e;\">/* Later rule WINS */</span>\n}\n</pre>\n<p style=\"color:#f97316;margin:12px 0 0 0;\">In CSS, when selectors have equal specificity, the <em>later</em> rule wins. The base <code>display: flex</code> was overriding the media query's <code>display: none</code>.</p>\n</div>\n\n<h3 style=\"color:#61afef;margin:16px 0 12px 0;font-family:sans-serif;\">The Fix</h3>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<p style=\"margin:0 0 8px 0;\"><strong style=\"color:#22c55e;\">Moved media query AFTER base styles:</strong></p>\n<pre style=\"background:#252526;padding:12px;border-radius:4px;overflow-x:auto;margin:8px 0 0 0;line-height:1.6;\">\n<span style=\"color:#7f848e;\">/* Base styles first */</span>\n.kontask-preview-breadcrumb {\n display: flex;\n <span style=\"color:#7f848e;\">/* ... other styles ... */</span>\n}\n\n<span style=\"color:#7f848e;\">/* Media query AFTER base styles */</span>\n<span style=\"color:#c678dd;\">@media</span> (min-width: 601px) {\n .kontask-preview-breadcrumb {\n display: <span style=\"color:#22c55e;\">none !important</span>; <span style=\"color:#7f848e;\">/* Now it works! */</span>\n }\n}\n</pre>\n</div>\n\n<h3 style=\"color:#61afef;margin:16px 0 12px 0;font-family:sans-serif;\">Result</h3>\n\n<pre style=\"background:#2d2d2d;padding:16px;border-radius:6px;overflow-x:auto;line-height:1.8;\">\n<span style=\"color:#7f848e;\">Before (800px foldable):</span>\n<span style=\"color:#ef4444;\">┌──────────────────────────────────────────────────────────────┐</span>\n<span style=\"color:#ef4444;\">│ [collapsed] | [• 13:37 👀 Review] | [timeline] │</span>\n<span style=\"color:#ef4444;\">│ bar | [kontask content ] | │</span>\n<span style=\"color:#ef4444;\">└──────────────────────────────────────────────────────────────┘</span>\n <span style=\"color:#ef4444;\">↑ breadcrumb visible (wastes space)</span>\n\n<span style=\"color:#7f848e;\">After (800px foldable):</span>\n<span style=\"color:#22c55e;\">┌──────────────────────────────────────────────────────────────┐</span>\n<span style=\"color:#22c55e;\">│ [collapsed] | [kontask content more room!]| [timeline] │</span>\n<span style=\"color:#22c55e;\">│ bar | [ ]| │</span>\n<span style=\"color:#22c55e;\">└──────────────────────────────────────────────────────────────┘</span>\n <span style=\"color:#22c55e;\">↑ breadcrumb hidden, more content space</span>\n</pre>\n\n<h3 style=\"color:#61afef;margin:16px 0 12px 0;font-family:sans-serif;\">Commit</h3>\n<p style=\"margin:0;\"><code style=\"background:#2d2d2d;padding:4px 8px;border-radius:4px;\">0456ba85</code> - Fix breadcrumb not hiding on wide screens (CSS order issue)</p>\n\n<p style=\"color:#f97316;margin:16px 0 0 0;\"><strong>Action Required:</strong> Restart konui to apply the fix.</p>\n\n</div>",
"requestedAt": "2026-01-11T03:45:00.000Z",
"requestId": "c79df247-1bbf-4be7-af07-7ddfba1cc622",
"commitSha": "0456ba85",
"choices": [
{
"label": "Restart konui",
"value": "I've restarted konui, let me test the preview again and report back",
"primary": true
},
{
"label": "Still visible",
"value": "The breadcrumb is still showing after restarting konui, needs more investigation"
}
],
"turnTiming": {
"totalMs": 127286,
"ttfeMs": 50,
"thinkingMs": 127236,
"toolExecutionMs": 0,
"toolCallCount": 0,
"thinkingPct": 100,
"toolsPct": 0,
"ttfePct": 0
}
},
"createdBy": "claude",
"createdAt": "2026-01-11T03:40:44.893Z",
"updatedAt": "2026-01-11T03:40:49.753Z",
"requestId": "c79df247-1bbf-4be7-af07-7ddfba1cc622",
"scope": "greatvibe",
"tags": [
"kontasks",
"ui",
"css",
"foldables"
],
"sessionId": "ses_40728090-b86"
}