hibiyasleep / kagerou

ACT-FF14 OverlayPlugin Skin - Modern, easily configurable, always up-to-date.
Other
334 stars 96 forks source link

Add rank # to name (feature request) #175

Closed brentrichardjr closed 2 years ago

brentrichardjr commented 3 years ago

Any chance to get an option to add the rank # displayed in front of the names?

If there is an easy way to add this via CSS, I can do that as well. Thank you

chalkpe commented 3 years ago

You can use CSS counters

#table {
  counter-reset: rank;
}

#table .flex-column-i-name::before {
  counter-increment: rank;
  content: "#" counter(rank) " ";
}

image

brentrichardjr commented 3 years ago

Awesome, thanks!