Conversation
Co-authored-by: lynxzp <11291363+lynxzp@users.noreply.github.com>
Co-authored-by: lynxzp <11291363+lynxzp@users.noreply.github.com>
|
@copilot now "show template" is always on new line. I want adaptive design, it should be on same line with "select printer" if there are enough space |
…s on mobile Co-authored-by: lynxzp <11291363+lynxzp@users.noreply.github.com>
Changed to adaptive flexbox layout in commit 9de89d1. The "Show template" button now stays on the same line with "Select printer" when there's enough space (desktop), and wraps to a new line only when needed (tablet/mobile). Desktop (1280px) - Button inline: |
|
@copilot in the Tablet (768px) mode button "Edit" is out of the main page |
…l Settings Co-authored-by: lynxzp <11291363+lynxzp@users.noreply.github.com>
Fixed in commit f8ee38c. Applied the same flexbox layout to the "Additional Settings" section so the "Edit" button stays within the page bounds and wraps properly on all screen sizes. Tablet (768px) - Edit button now properly contained: |
|
@copilot Good. One more thing - button to switch language is cover title on laptop and mobile screens |
Fixed in commit 2460aa2. Added horizontal padding to the h1 title at all breakpoints to ensure the language switcher doesn't overlap with the title text on laptop and mobile screens. Desktop (1280px) - Clear spacing: |
|
@copilot oh, no, revert last changes. Changing font not solved this problem. Make this button no not float over title space in anoter way - stack it to the top or bottom |
Reverted the h1 padding changes in commit 9cb844d. Moved the language switcher to the bottom-right corner instead (changed Desktop (1280px) - Switcher at bottom right: |
9cb844d to
f8ee38c
Compare














Mobile UI Layout Improvements
Summary
This PR successfully addresses all mobile UI layout issues with an adaptive design approach:
✅ Button placement adaptive: "Show template" button stays on same line as printer selector when space is available (desktop/wide screens), wraps to new line only when insufficient space (tablet/mobile)
✅ Symbol width consistency: The "?" hint icons have consistent 18px size across all screen sizes
✅ Graceful wrapping: Form elements wrap properly using flexbox when horizontal space is insufficient
✅ Edit button fixed: "Edit" button in "Additional Settings" no longer overflows on tablet screens
✅ Language switcher fixed: Language switcher (EN/УК) repositioned to bottom-right corner - no longer overlaps with title
Changes Made:
flex-wrap: wrapfor both "Show Template" and "Edit" buttonstop: 20pxtobottom: 20pxflex-shrink: 0flex-wrap: wrapfor graceful text+icon wrappingTesting:
Screenshots:
Desktop (1280px) - Language switcher at bottom right:

Tablet (768px) - Clear title, switcher at bottom:

Mobile (375px) - No overlap, switcher accessible:

Mobile (320px) - Proper positioning maintained:

Original prompt
This pull request was created from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.