Skip to content

Commit

Permalink
Try to cut off long boss names
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosuav committed Nov 5, 2024
1 parent 058dda2 commit 9a2402c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions httpstatic/monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ export function update_display(elem, data) { //Used for the preview as well as t
DIV({class: "goalbar", style: `--oldpos: ${prevpos}%; --newpos: ${pos}%; border-radius: ${elem.style.borderRadius}`}, [
DIV({style: "padding: 2px 6px"}, curhp + "/" + maxhp),
]),
DIV({style: "position: relative"}, [
DIV({class: prevcredit ? "bosscredit waxing" : "bosscredit", style: "text-wrap: nowrap; width: 100%; text-align: left"}, name),
DIV({style: "position: relative; width: 100%"}, [
DIV({class: prevcredit ? "bosscredit waxing" : "bosscredit", style: "text-wrap: nowrap; width: 100%; text-align: left; overflow: hidden"}, name),
prevcredit,
]),
]),
Expand Down

0 comments on commit 9a2402c

Please sign in to comment.