Commit 749eea82 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[Graph] some styling fixes

parent ca7160ae
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
} }
#graph-explorer .graph-tree { #graph-explorer .graph-tree {
position: absolute; position: absolute;
top: 120px; top: 150px;
max-height: 600px; max-height: 600px;
overflow-y: scroll; overflow-y: scroll;
z-index: 1; z-index: 1;
...@@ -25,13 +25,13 @@ ...@@ -25,13 +25,13 @@
} }
#graph-explorer #sp-container { #graph-explorer #sp-container {
position: absolute; position: absolute;
left: 70%;
top: 150px; top: 150px;
max-height: 600px;
overflow-y: scroll;
z-index: 1; z-index: 1;
left: 70%;
border: 1px white solid; border: 1px white solid;
background-color: white; background-color: white;
max-height: 600px;
overflow-y: scroll;
} }
#graph-explorer #sp-container #myTab { #graph-explorer #sp-container #myTab {
marginBottom: 18px; marginBottom: 18px;
......
@mixin sidePanelCommon
position: absolute
top: 150px
max-height: 600px
overflow-y: scroll
z-index: 1
#graph-explorer #graph-explorer
#toolbar #toolbar
display: flex display: flex
...@@ -14,24 +21,16 @@ ...@@ -14,24 +21,16 @@
height: 79px height: 79px
.graph-tree .graph-tree
position: absolute @include sidePanelCommon
top: 120px
max-height: 600px
overflow-y: scroll
z-index: 1
#graph-view #graph-view
height: 95% height: 95%
#sp-container #sp-container
position: absolute @include sidePanelCommon
left: 70% left: 70%
top: 150px
z-index: 1
border: 1px white solid border: 1px white solid
background-color: white background-color: white
max-height: 600px
overflow-y: scroll
#myTab #myTab
marginBottom: 18px marginBottom: 18px
......
...@@ -204,7 +204,7 @@ li:hover a#rename-leaf { ...@@ -204,7 +204,7 @@ li:hover a#rename-leaf {
justify-content: center; justify-content: center;
} }
.flex-center { .flex-space-between, .flex-center {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
} }
......
...@@ -188,8 +188,7 @@ li ...@@ -188,8 +188,7 @@ li
flew-wrap: wrap flew-wrap: wrap
justify-content: center justify-content: center
.flex-space-between .flex-space-between,.flex-center
.flex-center
display: flex display: flex
justify-content: space-between justify-content: space-between
......
...@@ -11,8 +11,6 @@ import Data.Nullable (null, Nullable) ...@@ -11,8 +11,6 @@ import Data.Nullable (null, Nullable)
import Data.Sequence as Seq import Data.Sequence as Seq
import Data.Set as Set import Data.Set as Set
import Data.Tuple (fst, snd, Tuple(..)) import Data.Tuple (fst, snd, Tuple(..))
import Data.Tuple.Nested ((/\))
import DOM.Simple.Console (log2)
import DOM.Simple.Types (Element) import DOM.Simple.Types (Element)
import Effect.Aff (Aff) import Effect.Aff (Aff)
import Math (log) import Math (log)
......
...@@ -42,7 +42,7 @@ sidebarCpt = R.hooksComponent "Sidebar" cpt ...@@ -42,7 +42,7 @@ sidebarCpt = R.hooksComponent "Sidebar" cpt
let nodesMap = SigmaxTypes.nodesGraphMap props.graph let nodesMap = SigmaxTypes.nodesGraphMap props.graph
pure $ pure $
RH.div { id: "sp-container", className: "col-md-2" } RH.div { id: "sp-container", className: "col-md-3" }
[ RH.div {} [ RH.div {}
[ RH.div { className: "row" } [ RH.div { className: "row" }
[ RH.div { className: "col-md-12" } [ RH.div { className: "col-md-12" }
......
...@@ -5613,10 +5613,10 @@ sander@^0.5.0: ...@@ -5613,10 +5613,10 @@ sander@^0.5.0:
mkdirp "^0.5.1" mkdirp "^0.5.1"
rimraf "^2.5.2" rimraf "^2.5.2"
sass@^1.22.9: sass@^1.23.7:
version "1.22.9" version "1.23.7"
resolved "https://registry.yarnpkg.com/sass/-/sass-1.22.9.tgz#41a2ed6038027f58be2bd5041293452a29c2cb84" resolved "https://registry.yarnpkg.com/sass/-/sass-1.23.7.tgz#090254e006af1219d442f1bff31e139d5e085dff"
integrity sha512-FzU1X2V8DlnqabrL4u7OBwD2vcOzNMongEJEx3xMEhWY/v26FFR3aG0hyeu2T965sfR0E9ufJwmG+Qjz78vFPQ== integrity sha512-cYgc0fanwIpi0rXisGxl+/wadVQ/HX3RhpdRcjLdj2o2ye/sxUTpAxIhbmJy3PLQgRFbf6Pn8Jsrta2vdXcoOQ==
dependencies: dependencies:
chokidar ">=2.0.0 <4.0.0" chokidar ">=2.0.0 <4.0.0"
......
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