redsunservers / LoadoutBugTracker

Public-facing bugtracker for Red Sun Loadout.
6 stars 5 forks source link

Loadout: multiple badge-pill elements get stacked on top of each other #502

Closed sasch-a closed 2 years ago

sasch-a commented 2 years ago

image

For example, when in the shop, you might see something like this appear. On the item on the left there are two <span class="badge badge-pill badge-topright bg-success">(...)</span> elements which get stacked on each other. Adding local CSS like..

.badge-topright ~ .badge-topright {
  top: 22px;
}

...confirms that there are multiple badge-pill elements being added to each shop item.

image

The first one being how many of the items I can buy with my current amount of battle points and the latter being how much each one costs.

FortyTwoFortyTwo commented 2 years ago

Max buy count was not intended to be in this, price is already colored yellow if can only buy one, and red if can't buy one. Fixed.