dwindown
0ab08d2f09
feat: Compact Variables Dropdown & Scrollable Editor! 📦
## 1. Variables as Dropdown (Not Flex)
**Problem:** Flex variables take too much space, cramping editor
**Solution:**
- Replaced flex buttons with Select dropdown
- Compact single-line layout
- More space for actual editing
- Better UX for many variables
**Before:**
```
Available Variables:
[var1] [var2] [var3] [var4] [var5]
[var6] [var7] [var8] [var9] [var10]
```
**After:**
```
Insert Variable: [Choose a variable... ▼]
```
## 2. Scrollable Editor Content
**Problem:** Long content pushes everything off screen
**Solution:**
- Wrapped EditorContent in scrollable div
- max-h-[400px] min-h-[200px]
- Editor stays within bounds
- Toolbar and variables always visible
**File:**
- `components/ui/rich-text-editor.tsx`
Ready for #3: Email global customization!
2025-11-13 13:07:47 +07:00
..
2025-11-04 11:19:00 +07:00
2025-11-13 13:07:47 +07:00
2025-11-05 18:54:41 +07:00
2025-11-13 10:13:17 +07:00
2025-11-04 11:19:00 +07:00
2025-11-13 11:50:38 +07:00
2025-11-13 09:50:33 +07:00
2025-11-13 11:57:55 +07:00
2025-11-13 12:20:41 +07:00
2025-11-13 12:20:41 +07:00
2025-11-04 11:19:00 +07:00
2025-11-04 11:19:00 +07:00
2025-11-04 11:19:00 +07:00
2025-11-04 11:19:00 +07:00
2025-11-04 11:19:00 +07:00
2025-11-13 10:34:07 +07:00
2025-11-04 11:19:00 +07:00