fix: separate burden label from meter
This commit is contained in:
parent
ca88f90476
commit
a3c3d0286e
2 changed files with 13 additions and 7 deletions
|
|
@ -1717,8 +1717,8 @@ function showInventoryWindow(name) {
|
|||
const burdenLabel = document.createElement('div');
|
||||
burdenLabel.className = 'inv-burden-label';
|
||||
burdenLabel.textContent = 'Burden';
|
||||
burdenContainer.appendChild(burdenLabel);
|
||||
burdenContainer.appendChild(burdenFill);
|
||||
sidebar.appendChild(burdenLabel);
|
||||
sidebar.appendChild(burdenContainer);
|
||||
|
||||
const packList = document.createElement('div');
|
||||
|
|
|
|||
|
|
@ -858,14 +858,17 @@ body.noselect, body.noselect * {
|
|||
}
|
||||
|
||||
.inv-burden-label {
|
||||
position: absolute;
|
||||
top: -18px;
|
||||
position: relative;
|
||||
top: 0;
|
||||
width: 60px;
|
||||
left: -22px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
text-align: center;
|
||||
font-size: 11px;
|
||||
color: var(--ac-gold);
|
||||
z-index: 2;
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.inv-pack-list {
|
||||
|
|
@ -2419,15 +2422,18 @@ table.ts-allegiance td:first-child {
|
|||
}
|
||||
|
||||
.inv-burden-label {
|
||||
position: absolute !important;
|
||||
top: -20px !important;
|
||||
position: relative !important;
|
||||
top: 0 !important;
|
||||
width: 60px !important;
|
||||
left: -22px !important;
|
||||
left: 50% !important;
|
||||
transform: translateX(-50%) !important;
|
||||
text-align: center !important;
|
||||
font-size: 9px !important;
|
||||
color: #fff !important;
|
||||
font-weight: normal !important;
|
||||
line-height: 1.1 !important;
|
||||
margin-top: 0 !important;
|
||||
margin-bottom: 4px !important;
|
||||
}
|
||||
|
||||
.inventory-count {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue