Skip to content

Commit

Permalink
Display image hover on deckbuilder for faction
Browse files Browse the repository at this point in the history
  • Loading branch information
lsocrate committed Nov 13, 2021
1 parent 7914895 commit 2665174
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions client/src/UI/Decklist.elm
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ factionEntryEditable { setLeader } ( character, isLeader ) =
)
, span [ class "deck-faction__bp" ] [ UI.Attribute.bloodPotency character.bloodPotency ]
, span [ class "deck-faction__clan" ] [ Icon.clan character.clan ]
, span [ class "deck-faction__name" ] [ text character.name ]
, span [ class "deck-faction__name" ] [ UI.CardName.withOverlay (Cards.FactionCard character) ]
]
++ (character.disciplines
|> List.map (span [ class "deck-faction__discipline" ] << List.singleton << Icon.discipline)
Expand All @@ -224,15 +224,9 @@ factionEntryReadOnly ( character, isLeader ) =
else
[]
)
, span [ class "deck-faction__bp" ]
[ UI.Attribute.bloodPotency character.bloodPotency
]
, span [ class "deck-faction__clan" ]
[ Icon.clan character.clan
]
, span [ class "deck-faction__name" ]
[ UI.CardName.withOverlay (Cards.FactionCard character)
]
, span [ class "deck-faction__bp" ] [ UI.Attribute.bloodPotency character.bloodPotency ]
, span [ class "deck-faction__clan" ] [ Icon.clan character.clan ]
, span [ class "deck-faction__name" ] [ UI.CardName.withOverlay (Cards.FactionCard character) ]
]
++ (character.disciplines
|> List.map (span [ class "deck-faction__discipline" ] << List.singleton << Icon.discipline)
Expand Down

0 comments on commit 2665174

Please sign in to comment.