Roster CSS cleanup

merge-requests/237/merge
Tag 2023-01-15 14:10:03 -08:00
rodzic 3f06a6525a
commit 1545d53987
2 zmienionych plików z 10 dodań i 8 usunięć

Wyświetl plik

@ -128,7 +128,7 @@ const ROSTER_COLUMNS = {
tableData: (callObj) => ({ tableData: (callObj) => ({
align: "center", align: "center",
style: "margin:0; padding:0;", style: "margin:0; padding:0;",
html: `<img style='padding-top:3px' src='./img/flags/16/${window.opener.g_dxccInfo[callObj.dxcc].flag}'>` html: `<img style='margin-bottom:-3px;' src='./img/flags/16/${window.opener.g_dxccInfo[callObj.dxcc].flag}'>`
}) })
}, },
@ -325,7 +325,7 @@ const ROSTER_COLUMNS = {
align: "center", align: "center",
style: "margin: 0; padding: 0; cursor: pointer; background-clip: content-box; box-shadow: 0 0 4px 4px inset #2222FFFF;", style: "margin: 0; padding: 0; cursor: pointer; background-clip: content-box; box-shadow: 0 0 4px 4px inset #2222FFFF;",
onClick: `openChatToCid("${callObj.gt}")`, onClick: `openChatToCid("${callObj.gt}")`,
html: "<img height='16px' style='' src='./img/gt_chat.png' />" html: "<img height='16px' style='margin-bottom:-2px;' src='./img/gt_chat.png' />"
} }
} }
else else
@ -334,7 +334,7 @@ const ROSTER_COLUMNS = {
align: "center", align: "center",
style: "margin: 0; padding: 0; cursor: pointer;", style: "margin: 0; padding: 0; cursor: pointer;",
onClick: `openChatToCid("${callObj.gt}")`, onClick: `openChatToCid("${callObj.gt}")`,
html: "<img height='16px' style='' src='./img/gt_chat.png' />" html: "<img height='16px' style='margin-bottom:-2px;' src='./img/gt_chat.png' />"
} }
} }
} }

Wyświetl plik

@ -442,7 +442,8 @@ table.rosterTable {
table.rosterTable td, table.rosterTable td,
table.rosterTable th { table.rosterTable th {
border: 1px solid #555; border: 1px solid #555;
padding: 2px 4px; padding: 2px;
padding-bottom: 1px;
} }
table.rosterTable thead { table.rosterTable thead {
@ -541,14 +542,15 @@ table.rosterTable thead th:first-child {
} }
.ackBadge { .ackBadge {
padding: 0; padding: 0px;
width: 1.5em; margin: 0px;
height: 12px;
margin-bottom: -2px;
} }
.wantedCol { .wantedCol {
max-width: 160px; max-width: 160px;
overflow: hidden; overflow: hidden;
text-overflow: text-overflow: ellipsis;
ellipsis;
white-space: nowrap; white-space: nowrap;
} }