fix: more elemental display adjustments
This commit is contained in:
parent
7e4978a0a1
commit
cc6ab285bd
2 changed files with 4 additions and 4 deletions
|
@ -272,7 +272,7 @@ span#password {
|
|||
}
|
||||
|
||||
.fairy-c {
|
||||
color: aqua;
|
||||
color: #00e1ff;
|
||||
}
|
||||
|
||||
.fairy-list {
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
<% if has_fairy?(instance, fairy) %>
|
||||
<% idx = instance.fairies.index { |f| f.location == "#{fairy[:x]},#{fairy[:y]}" } %>
|
||||
<% if idx == 0 %>
|
||||
<span class="fairy-a fairy-marker">A</span>
|
||||
<span class="fairy-a fairy-marker">1</span>
|
||||
<% elsif idx == 1 %>
|
||||
<span class="fairy-b fairy-marker">B</span>
|
||||
<span class="fairy-b fairy-marker">2</span>
|
||||
<% elsif idx == 2 %>
|
||||
<span class="fairy-c fairy-marker">C</span>
|
||||
<span class="fairy-c fairy-marker">3</span>
|
||||
<% else %>
|
||||
<span class="other-fairy fairy-marker"><%= idx + 1 %></span>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Reference in a new issue