Commit ff2130a2 authored by arturo's avatar arturo

[layout] "cog" icon placement

* #427
parent fb7fbcbe
...@@ -173,16 +173,26 @@ folderCpt = here.component "folderCpt" cpt where ...@@ -173,16 +173,26 @@ folderCpt = here.component "folderCpt" cpt where
H.div H.div
{} {}
[ [
B.iconButton H.div
{ name: "cog" -- KISS CSS placement (BEM would be better)
, callback: \_ -> T.write_ true isBoxVisible { style:
, title: { float: "right"
"Each node of the Tree can perform some actions.\n" , position: "relative"
<> "Click here to execute one of them." , right: "-14px"
, variant: Secondary }
, elevation: Level0
, overlay: false
} }
[
B.iconButton
{ name: "cog"
, callback: \_ -> T.write_ true isBoxVisible
, title:
"Each node of the Tree can perform some actions.\n"
<> "Click here to execute one of them."
, variant: Secondary
, elevation: Level0
, overlay: false
}
]
, ,
H.button H.button
{ className: "btn btn-primary fv btn" { className: "btn btn-primary fv btn"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment