mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-07-06 09:51:14 +02:00
fix(contacts): type label bug, responsive buttons, remove Copy Key
- Fix pending contacts always showing "CLI" — compute type_label in API - Remove Copy Key button from pending cards, make key clickable instead - Responsive contact buttons: icon+text on desktop, icon-only on <=768px - Add flex-wrap for button rows on small screens Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -333,6 +333,18 @@ main {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
/* Contact card buttons: icon-only on mobile */
|
||||
.pending-contact-card .btn-label,
|
||||
.existing-contact-card .btn-label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Allow button wrapping on small screens */
|
||||
.pending-contact-card .d-flex.gap-2,
|
||||
.existing-contact-card .d-flex.gap-2 {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* Modal: Better mobile layout */
|
||||
.modal-dialog {
|
||||
margin: 0.5rem;
|
||||
|
||||
Reference in New Issue
Block a user