← Back to Kontasks
Preview Width Fix for Foldables
Fixed preview panel being squeezed on foldable devices by reducing timeline width and hiding breadcrumb
Output
Preview Width Fix for Foldables
Fixed: Preview panel was being squeezed on foldable/tablet screens
Changes Made
1. Reduced Timeline Width When Preview Open
/* Before: */ width: 25%; min-width: 320px; max-width: 400px; /* After (wide screens): */ width: 280px; min-width: 240px; max-width: 320px; /* After (601-1000px foldables/tablets): */ width: 220px; min-width: 180px; max-width: 260px;
2. Hidden Breadcrumb Bar on Wide Screens
The empty breadcrumb bar (that was showing as blank space) is now hidden on screens 601px+. The timeline item itself provides the context.
@media (min-width: 601px) { .kontask-preview-breadcrumb { display: none; } }
Result
Before (800px foldable): ┌─────────────────────────────────────────────────────────┐ │ [bar] | [preview ~430px] | [timeline 320px] │ └─────────────────────────────────────────────────────────┘ After (800px foldable): ┌─────────────────────────────────────────────────────────┐ │ [bar] | [preview ~530px] | [timeline 220px] │ └─────────────────────────────────────────────────────────┘
Commit
8839fa13 - Fix preview panel width and hide breadcrumb on wide screens
Note: Restart konui to apply changes.
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
greatvibe
Tags
kontasksuiflow-timelinefoldables
Created
11 Jan 2026, 1:35 pm
Updated
11 Jan 2026, 1:35 pm
Timing
⏱️ 136.4s
0 tools
● TTFE 0%
● Thinking 100%
● Tools 0%
Created By
claude
📋 Claude's Context
Session
ses_40728090...
🔗 Git Commit
8839fa13
Raw Data
{
"id": "a41aa389-e872-48bd-8346-00943645d355",
"type": "general",
"status": "completed",
"title": "Preview Width Fix for Foldables",
"description": "Fixed preview panel being squeezed on foldable devices by reducing timeline width and hiding breadcrumb",
"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;\">Preview Width Fix for Foldables</h2>\n\n<p style=\"color:#98c379;margin:0 0 16px 0;\"><strong>Fixed:</strong> Preview panel was being squeezed on foldable/tablet screens</p>\n\n<h3 style=\"color:#61afef;margin:16px 0 12px 0;font-family:sans-serif;\">Changes Made</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;\">1. Reduced Timeline Width When Preview Open</strong></p>\n<pre style=\"background:#252526;padding:12px;border-radius:4px;overflow-x:auto;margin:8px 0 0 0;\">\n<span style=\"color:#7f848e;\">/* Before: */</span>\nwidth: <span style=\"color:#ef4444;\">25%</span>; min-width: <span style=\"color:#ef4444;\">320px</span>; max-width: <span style=\"color:#ef4444;\">400px</span>;\n\n<span style=\"color:#7f848e;\">/* After (wide screens): */</span>\nwidth: <span style=\"color:#22c55e;\">280px</span>; min-width: <span style=\"color:#22c55e;\">240px</span>; max-width: <span style=\"color:#22c55e;\">320px</span>;\n\n<span style=\"color:#7f848e;\">/* After (601-1000px foldables/tablets): */</span>\nwidth: <span style=\"color:#22c55e;\">220px</span>; min-width: <span style=\"color:#22c55e;\">180px</span>; max-width: <span style=\"color:#22c55e;\">260px</span>;\n</pre>\n</div>\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:#3b82f6;\">2. Hidden Breadcrumb Bar on Wide Screens</strong></p>\n<p style=\"color:#7f848e;margin:0;\">The empty breadcrumb bar (that was showing as blank space) is now hidden on screens 601px+. The timeline item itself provides the context.</p>\n<pre style=\"background:#252526;padding:12px;border-radius:4px;overflow-x:auto;margin:8px 0 0 0;\">\n<span style=\"color:#c678dd;\">@media</span> (min-width: <span style=\"color:#d19a66;\">601px</span>) {\n .kontask-preview-breadcrumb {\n display: <span style=\"color:#22c55e;\">none</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;\">│ [bar] | [preview ~430px] | [timeline 320px] │</span>\n<span style=\"color:#ef4444;\">└─────────────────────────────────────────────────────────┘</span>\n\n<span style=\"color:#7f848e;\">After (800px foldable):</span>\n<span style=\"color:#22c55e;\">┌─────────────────────────────────────────────────────────┐</span>\n<span style=\"color:#22c55e;\">│ [bar] | [preview ~530px] | [timeline 220px] │</span>\n<span style=\"color:#22c55e;\">└─────────────────────────────────────────────────────────┘</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;\">8839fa13</code> - Fix preview panel width and hide breadcrumb on wide screens</p>\n\n<p style=\"color:#f97316;margin:16px 0 0 0;\"><strong>Note:</strong> Restart konui to apply changes.</p>\n\n</div>",
"requestedAt": "2026-01-11T03:45:00.000Z",
"requestId": "0189c541-ae41-472c-8641-029599e9c37e",
"commitSha": "8839fa13",
"choices": [
{
"label": "Restart konui",
"value": "Restart konui to apply the preview width and breadcrumb fixes",
"primary": true
},
{
"label": "Test on foldable",
"value": "Let me test the preview width on my foldable device first, then I'll report back if it needs more adjustments"
},
{
"label": "Further adjustments",
"value": "The timeline is still too wide, please reduce it more - I want the preview to take most of the screen"
}
],
"turnTiming": {
"totalMs": 136415,
"ttfeMs": 51,
"thinkingMs": 136364,
"toolExecutionMs": 0,
"toolCallCount": 0,
"thinkingPct": 100,
"toolsPct": 0,
"ttfePct": 0
}
},
"createdBy": "claude",
"createdAt": "2026-01-11T03:35:36.213Z",
"updatedAt": "2026-01-11T03:35:42.387Z",
"requestId": "0189c541-ae41-472c-8641-029599e9c37e",
"scope": "greatvibe",
"tags": [
"kontasks",
"ui",
"flow-timeline",
"foldables"
],
"sessionId": "ses_40728090-b86"
}