mirror of
https://github.com/andrey271192/amnezia_web-PRO.git
synced 2026-09-20 14:42:00 +00:00
style: compact icon action buttons, no horizontal scroll
Replace text action buttons with 32px icon buttons (tooltips kept
via title/aria-label): ⏻ выключить, ▶ включить, ⬇ .conf,
🔗 прямая ссылка, ⧉ копировать URL, 🗑 удалить. Actions cell
shrinks to content (width:1%, nowrap) so the table fits without
left-right scrolling.
This commit is contained in:
@@ -656,7 +656,8 @@ table.clients-table {
|
||||
|
||||
.clients-table td.actions {
|
||||
vertical-align: top;
|
||||
min-width: 360px;
|
||||
width: 1%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
table {
|
||||
@@ -1162,3 +1163,18 @@ tr:last-child td {
|
||||
white-space: pre-wrap;
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
|
||||
.actions { gap: 0.3rem; flex-wrap: nowrap; }
|
||||
.actions .btn.icon {
|
||||
width: 32px;
|
||||
min-width: 32px;
|
||||
height: 32px;
|
||||
padding: 0;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 1rem;
|
||||
line-height: 1;
|
||||
}
|
||||
.actions a.btn.icon { text-decoration: none; }
|
||||
|
||||
Reference in New Issue
Block a user