mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-03-28 17:42:45 +01:00
Fix: Optimize UI for mobile devices
Improved mobile user experience: - Shortened hint text: 'Shift+Enter: new line, Enter: send' (was 'Press Shift+Enter for new line, Enter to send') - Reduced form padding on mobile (0.5rem instead of default) - Made status bar more compact on mobile (smaller padding and font) - Better vertical space utilization on small screens This should make the status bar visible on mobile devices and improve overall usability on phones. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -162,6 +162,17 @@ main {
|
||||
#messageInput {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
/* Reduce padding on mobile to save vertical space */
|
||||
#sendMessageForm {
|
||||
padding: 0.5rem !important;
|
||||
}
|
||||
|
||||
/* Make status bar more compact */
|
||||
.row.border-top .p-2 {
|
||||
padding: 0.3rem !important;
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Loading State */
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="d-flex justify-content-between">
|
||||
<small class="text-muted">Press Shift+Enter for new line, Enter to send</small>
|
||||
<small class="text-muted">Shift+Enter: new line, Enter: send</small>
|
||||
<small id="charCounter" class="text-muted">0 / 200</small>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user