mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-16 04:25:11 -05:00
feat: removed tooltips on mobile
This commit is contained in:
parent
ad3a7eac94
commit
86430b122c
6 changed files with 98 additions and 51 deletions
|
@ -302,7 +302,7 @@ contentList shared model isLinkClicked index argument =
|
|||
]
|
||||
, detailFormat row
|
||||
[ strengthMaker shared
|
||||
, barMaker getConfidenceTooltip argument.argumentCertainty
|
||||
, barMaker shared getConfidenceTooltip argument.argumentCertainty
|
||||
]
|
||||
]
|
||||
]
|
||||
|
@ -372,14 +372,22 @@ copyButton shared model isLinkClicked index argument =
|
|||
strengthMaker : Shared.Model -> Element msg
|
||||
strengthMaker shared =
|
||||
el
|
||||
(if not shared.isNavbarExpanded then
|
||||
[ tooltip
|
||||
"This represents how pleasant the host was to engage with."
|
||||
True
|
||||
]
|
||||
(case ( shared.device.class, shared.device.orientation ) of
|
||||
( Phone, Portrait ) ->
|
||||
[]
|
||||
|
||||
else
|
||||
[]
|
||||
( Tablet, Portrait ) ->
|
||||
[]
|
||||
|
||||
_ ->
|
||||
if not shared.isNavbarExpanded then
|
||||
[ tooltip
|
||||
"This represents my confidence that the argument is sound."
|
||||
True
|
||||
]
|
||||
|
||||
else
|
||||
[]
|
||||
)
|
||||
<|
|
||||
detailTitleMaker TextLightOrange "Confidence:"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue