fix: UI improvements for unified prompt system (Issue #28)
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:
1 parent
0a3e76128a
commit
7dda520c9b
2 files changed
+28
-4
No files matched your search
@@ -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)',
|
||||
|
||||
Reference in new issue
Block a user