Commit 3f39fafc authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FIX] frame fix for FF (need fix for chrom*)

parent 64621176
...@@ -78,9 +78,10 @@ li#rename #rename-a { ...@@ -78,9 +78,10 @@ li#rename #rename-a {
background-color: white; background-color: white;
border: none; border: none;
} }
#node-popup-tooltip .popup-container .istex-search.panel { #node-popup-tooltip .popup-container .frame-search.panel {
border: 1px solid rgba(0, 0, 0, 0.2); border: 1px solid rgba(0, 0, 0, 0.2);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
height: 600px;
width: 1300px; width: 1300px;
} }
......
...@@ -70,9 +70,10 @@ li#rename ...@@ -70,9 +70,10 @@ li#rename
justify-content: center justify-content: center
background-color: white background-color: white
border: none border: none
.istex-search.panel .frame-search.panel
border: 1px solid rgba(0,0,0,0.2) border: 1px solid rgba(0,0,0,0.2)
box-shadow: 0 2px 5px rgba(0,0,0,0.2) box-shadow: 0 2px 5px rgba(0,0,0,0.2)
height: 600px
width: 1300px width: 1300px
......
...@@ -23,12 +23,12 @@ searchIframes :: R.State Search ...@@ -23,12 +23,12 @@ searchIframes :: R.State Search
-> R.Element -> R.Element
searchIframes search@(search' /\ _) iframeRef = searchIframes search@(search' /\ _) iframeRef =
if isIsTex_Advanced search'.datafield then if isIsTex_Advanced search'.datafield then
H.div { className: "istex-search panel panel-default" } H.div { className: "frame-search panel panel-default" }
[ iframeWith "https://istex.gargantext.org" search iframeRef ] [ iframeWith "https://istex.frame.gargantext.org" search iframeRef ]
else else
if Just Web == search'.datafield then if Just Web == search'.datafield then
H.div { className: "istex-search panel panel-default" } H.div { className: "frame-search panel panel-default" }
[ iframeWith "https://searx.gargantext.org" search iframeRef ] [ iframeWith "https://searx.frame.gargantext.org" search iframeRef ]
else else
H.div {} [] H.div {} []
......
...@@ -83,8 +83,7 @@ searchFieldComponent = R.hooksComponent "G.C.S.SearchField" cpt ...@@ -83,8 +83,7 @@ searchFieldComponent = R.hooksComponent "G.C.S.SearchField" cpt
] ]
] ]
let footer = H.div {className: "flex-center"} let footer = submitButton {onSearch, search, session: props.session}
[submitButton {onSearch, search, session: props.session}]
pure $ panel body footer pure $ panel body footer
......
...@@ -179,8 +179,6 @@ formButton nodeType setNodeType = ...@@ -179,8 +179,6 @@ formButton nodeType setNodeType =
------------------------------------------------------------------------ ------------------------------------------------------------------------
------------------------------------------------------------------------ ------------------------------------------------------------------------
submitButton :: Action -> (Action -> Aff Unit) -> R.Element submitButton :: Action -> (Action -> Aff Unit) -> R.Element
submitButton action dispatch = submitButton action dispatch =
H.button { className : "btn btn-primary fa fa-" <> icon action H.button { className : "btn btn-primary fa fa-" <> icon action
......
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