fix: UI improvements for unified prompt system (Issue #28)
Deploy Development / deploy (push) Successful in 49s
Build Test / lint-backend (push) Successful in 1s
Build Test / build-frontend (push) Successful in 13s

Fixes:
1. Template field in stages now full width (was too narrow)
2. Table horizontal scrollbar for mobile (overflow-x: auto)
3. Table min-width 900px to prevent icon clipping
4. Added clickable placeholder chips below base template
   - Click to insert placeholders into template
   - Shows: weight_data, nutrition_data, activity_data, sleep_data, etc.

UI now mobile-ready and more user-friendly.
This commit is contained in:
Lars committed 2026-03-25 21:52:58 +01:00
1 parent 0a3e76128a
commit 7dda520c9b
2 files changed
+28 -4

No files matched your search

+2 -2
View File
@@ -227,9 +227,9 @@ export default function AdminPromptsPage() {
background: 'var(--surface)',
borderRadius: 12,
border: '1px solid var(--border)',
overflow: 'hidden'
overflowX: 'auto'
}}>
<table style={{ width: '100%', borderCollapse: 'collapse' }}>
<table style={{ width: '100%', minWidth: 900, borderCollapse: 'collapse' }}>
<thead>
<tr style={{
background: 'var(--surface2)',