Skip to content

Commit ab4f1ab

Browse files
committed
Update AI notes
1 parent 870a9c6 commit ab4f1ab

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

AI_DEVELOPMENT_NOTES.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,13 @@
4949

5050
### **UI Components**
5151
- **OfflineIndicator** - Simple text status in footer showing "Online" or "Offline"
52+
- **Responsive design** - Breaks to new line on mobile screens
53+
- **Enhanced visibility** - Larger text and padding on small screens
54+
- **Color-coded status** - Green for online, yellow/orange for offline
5255
- **ResponsiveTable** - JavaScript-controlled responsive tables
5356
- **Layout** - Main layout component with header, nav, main, footer structure
57+
- **Responsive footer** - Stacks content vertically on mobile
58+
- **Mobile-first design** - Proper text sizing and spacing
5459

5560
### **File Organization**
5661
- **Element styles first** in SCSS
@@ -77,6 +82,12 @@
7782
2. **Follow the hierarchy** - element → class → media queries
7883
3. **Test build** after major changes
7984
4. **Verify contrast** on active/hover states
85+
5. **CRITICAL: Avoid duplicate media queries** - Consolidate responsive styles
86+
87+
### **Common Pitfalls to Avoid**
88+
- **Duplicate @media blocks** - Always merge styles with same breakpoint
89+
- **Conflicting responsive styles** - Check for existing media queries before adding new ones
90+
- **Breaking mobile-first approach** - Maintain consistent breakpoint strategy
8091

8192
### **File Structure Maintained**
8293
```

0 commit comments

Comments
 (0)