mobile-chat-layout-css
CommunityFix WhatsApp-style mobile chat layout and scrolling bugs.
Authorfreedomw1987
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill resolves common layout and scrolling bugs in React-based WhatsApp-style chat applications, including messages hidden behind fixed mobile input bars, non-scrolling message lists on desktop, disabled input bars on mobile default view, and clipped page content from incorrect flex container alignment.
Core Features & Use Cases
- Missing CSS Class Fix: Defines missing
.hidden-mobileclasses referenced in JSX to enable proper mobile layout toggling between sidebar and chat panel. - Flexbox Scrolling Fix: Adds required
min-height: 0rules to flex containers to enable proper scrolling of message lists on desktop when usingflex: 1andoverflow-y: auto. - Mobile View State Fix: Implements React
useEffectlogic to automatically show the sidebar on mobile when no conversation is selected, and switch to the chat panel when a conversation is chosen, resolving disabled input bar issues. - Use Case: React developers building cross-platform chat apps can use this Skill to eliminate hours of debugging layout inconsistencies between mobile and desktop viewports.
Quick Start
Use the mobile-chat-layout-css skill to fix the hidden messages and non-scrolling message list issues in your React chat application.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mobile-chat-layout-css Download link: https://github.com/freedomw1987/tree_monstor/archive/main.zip#mobile-chat-layout-css Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.