Skip to content

Commit

Permalink
removing old (unused) tooltip class
Browse files Browse the repository at this point in the history
  • Loading branch information
bbarker committed Mar 6, 2020
1 parent 65702ae commit fd26f90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ mkdir css
ln -s /PATH/TO/metajelo-ui-css-classes/uicss css
```

On Windows, you will need to use `mklink /d css X:\PATH\TO\metajelo-ui-css-classes\uicss`
instead of the `ln -s` command.

Now edit `index.html` and replace `prod.XXXXX.css` with `css/style-dev.css`
so that you now have a line that looks like:

Expand Down
8 changes: 1 addition & 7 deletions src/Metajelo/UI.purs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ accumulateResType oldRT = D.div_ [MC.resourceType] do

formatSignal :: CtrlSignal HTML (Maybe M.Format)
formatSignal formatMay = D.div_ [MC.format] do
tooltipS $ textInput formatMay
textInput formatMay

formatSigArray :: CtrlSignal HTML (Tuple Int (Array M.Format))
formatSigArray formats = D.div_ [MC.formatList] $ arrayView formatSignal formats
Expand All @@ -423,12 +423,6 @@ accumulateResMdSource oldRMDS = D.div_ [MC.resourceMDSource] do
get >>= Opt.maySetOptState (SProxy :: _ "relationType") relTypMay
) oldRMDS

tooltip :: forall a. Widget HTML a
tooltip = D.div_ [MC.tooltip] empty

tooltipS :: forall a. Signal HTML a -> Signal HTML a
tooltipS sigIn = D.div_ [MC.tooltip] sigIn

-- TODO: PR to purescript-option
getOpt ::
forall label option option' proxy suboption.
Expand Down

0 comments on commit fd26f90

Please sign in to comment.