fix bootstrap padding #6755

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2025-02-27 18:08:12 +00:00
parent 0d65080a8a
commit 42f61ea46e
3 changed files with 9 additions and 31 deletions

View File

@ -703,6 +703,10 @@ body {
text-align: center; text-align: center;
} }
.DeviceCheckbox {
margin-top: 2px !important;
}
.deviceBarCheckbox { .deviceBarCheckbox {
width:22px; width:22px;
float:left; float:left;
@ -823,15 +827,15 @@ NoMeshesPanel img {
.deviceNotifySmallDot { .deviceNotifySmallDot {
position:absolute; position:absolute;
right:10px; right:10px;
top:0px; top:4px;
height:10px; height:10px;
} }
.deviceNotifySmallDotSub { .deviceNotifySmallDotSub {
text-align:center; text-align:center;
color:#FFF; color:#FFF;
height:10px; height:14px;
width:10px; width:14px;
padding:2px; padding:2px;
background-color:#00F; background-color:#00F;
border-radius:10px; border-radius:10px;

View File

@ -26609,32 +26609,6 @@
"default3.handlebars->35->3234" "default3.handlebars->35->3234"
] ]
}, },
{
"bs": "DeviceCheckbox",
"ca": "Casilla de verificació del dispositiu",
"cs": "DeviceCheckbox",
"da": "Enheds Checkbox",
"de": "DeviceCheckbox",
"en": "DeviceCheckbox",
"es": "Casilla de Verificación del Dispositivo",
"fi": "LaitteenValintaruutu",
"fr": "DeviceCheckbox",
"hi": "DeviceCheckbox",
"hu": "DeviceCheckbox",
"it": "Casella di controllo del dispositivo",
"ja": "DeviceCheckbox",
"ko": "장치 체크 박스",
"nl": "DeviceCheckbox",
"pl": "Pole wyboru urządzenia",
"pt": "DeviceCheckbox",
"pt-br": "DeviceCheckbox",
"ru": "DeviceCheckbox",
"sv": "DeviceCheckbox",
"tr": "DeviceCheckbox",
"zh-chs": "设备复选框",
"zh-cht": "裝置複選框",
"uk": "Прапорець Пристрою"
},
{ {
"bs": "Uređaji", "bs": "Uređaji",
"ca": "Dispositius", "ca": "Dispositius",

View File

@ -5381,7 +5381,7 @@
} }
} }
if (node.desc && (deviceViewSettings.devsCols.indexOf('desc') >= 0)) { name = '<div style=float:right' + (stars[node._id] == 1 ? ';padding-right:15px' : '') + '>' + EscapeHtml(node.desc) + '</div><div>' + name + '</div>'; } if (node.desc && (deviceViewSettings.devsCols.indexOf('desc') >= 0)) { name = '<div class="flex-grow-1">' + name + '</div><div style=float:right' + (stars[node._id] == 1 ? ';padding-right:15px' : '') + '>' + EscapeHtml(node.desc) + '</div>'; }
var collapseName = node.meshid; var collapseName = node.meshid;
if (sort == 1) { collapseName = ('pwr:' + (node.pwr ? node.pwr : 0)); } if (sort == 1) { collapseName = ('pwr:' + (node.pwr ? node.pwr : 0)); }
@ -5391,7 +5391,7 @@
r += '<div class=deviceBarCheckbox><input class="' + node.meshid + ' DeviceCheckbox form-check-input me-2" value=devid_' + node._id + ' type=checkbox onchange=p1devcheck(event) ' + (checkedNodeids[node._id] ? ' checked' : '') + '></div>'; r += '<div class=deviceBarCheckbox><input class="' + node.meshid + ' DeviceCheckbox form-check-input me-2" value=devid_' + node._id + ' type=checkbox onchange=p1devcheck(event) ' + (checkedNodeids[node._id] ? ' checked' : '') + '></div>';
r += '<div class=deviceBarIcon onmouseup=gotoDevice(\'' + node._id + '\',null,null,event)><div class="j' + icon + '" style=width:16px;margin-top:1px;margin-left:2px;height:16px></div></div>'; r += '<div class=deviceBarIcon onmouseup=gotoDevice(\'' + node._id + '\',null,null,event)><div class="j' + icon + '" style=width:16px;margin-top:1px;margin-left:2px;height:16px></div></div>';
r += '<div class=g1 style=height:18px;float:left></div><div class=g2 style=height:18px;float:right></div>'; r += '<div class=g1 style=height:18px;float:left></div><div class=g2 style=height:18px;float:right></div>';
r += '<div class=style10 style=cursor:pointer;font-size:14px;max-height:18px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap title="' + title + '" onmouseup=gotoDevice(\'' + node._id + '\',null,null,event)>' + name + '</div></div>' + devNotify + '</td>'; r += '<div class="style10 d-flex align-items-center" style=cursor:pointer;font-size:14px;max-height:18px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap title="' + title + '" onmouseup=gotoDevice(\'' + node._id + '\',null,null,event)>' + name + '</div></div>' + devNotify + '</td>';
// Use defaults if needed // Use defaults if needed
if (deviceViewSettings == null) { deviceViewSettings = {}; } if (deviceViewSettings == null) { deviceViewSettings = {}; }