Add a temporary hack to make text selection disabled on firefox
This commit is contained in:
parent
6eaeff8ca8
commit
63fa164db7
|
@ -117,7 +117,11 @@ viewColumns : Maybe HeldTile -> Array Column -> Html Msg
|
|||
viewColumns heldTile columns =
|
||||
Array.indexedMap (viewColumn heldTile) columns
|
||||
|> Array.toList
|
||||
|> section [class "columns"]
|
||||
|> section
|
||||
[ class "columns"
|
||||
-- Temporary hack while firefox's :has() selector is broken
|
||||
, attributeIf (isJust heldTile) <| style "user-select" "none"
|
||||
]
|
||||
|
||||
|
||||
viewFloatyTile : (Int, Int) -> HeldTile -> Html Msg
|
||||
|
|
Loading…
Reference in New Issue