mobile-ui

Apply CSS media queries and grid/flexbox layouts to size mobile UI buttons consistently.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ReubenFrimpong/past-care-spring --skill mobile-ui-reubenfrimpong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mobile-ui
Source: https://github.com/ReubenFrimpong/past-care-spring/tree/main/.claude/skills/mobile-ui
Command: npx skills add https://github.com/ReubenFrimpong/past-care-spring --skill mobile-ui-reubenfrimpong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the critical issue of UI components, especially buttons, breaking or appearing inconsistently on mobile devices due to text overflow or unequal sizing.

Core Features & Use Cases

  • Responsive Layouts: Adapts card actions, toolbars, and forms for optimal viewing on small screens.
  • Button Consistency: Ensures buttons within a group maintain equal width and prevent text truncation.
  • Use Case: When adding a new "Save Changes" button to a form dialog, use this skill to ensure it stacks correctly with the "Cancel" button on mobile without overflowing or looking misaligned.

Quick Start

Apply mobile responsiveness to the member profile card actions.

Frequently Asked Questions about mobile-ui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix button text overflow on mobile screens?

To fix button text overflow on mobile screens, apply CSS media queries combined with flexbox or grid layouts to enforce vertical stacking and equal-width distribution. This ensures action groups resize predictably and prevents text truncation across varying mobile screen resolutions.

What is the best way to make action groups responsive on mobile devices?

The best way to make action groups responsive on mobile devices is using CSS flexbox or grid layouts within container components. By applying targeted media queries, buttons maintain consistent sizing and align vertically, adapting toolbars and card actions for optimal viewing on small screens.

Why do my form buttons have unequal widths on different mobile resolutions?

Form buttons have unequal widths on different mobile resolutions due to missing responsive CSS constraints. Applying strict flexbox or grid distribution patterns ensures buttons within a container maintain equal width and prevents misalignment when rendered across various mobile screen sizes.

How do I use CSS media queries to stack buttons vertically on small screens?

To stack buttons vertically on small screens using CSS media queries, apply specific flexbox or grid patterns that trigger vertical alignment within your container. This layout adjustment ensures buttons fill width consistently and prevents text overflow on mobile resolutions.

Does this approach require specific CSS frameworks to handle mobile responsiveness?

No, this approach does not require specific CSS frameworks as it relies on standard CSS media queries, flexbox, and grid layouts. You apply these native CSS patterns directly to your containers to ensure equal-width distribution and vertical stacking for mobile UI components.