Commit da9744f8 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[docs table] styling fix for scrollable doc abstracts

parent d9a55b09
...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
#page-wrapper .side-panel .header { #page-wrapper .side-panel .header {
float: right; float: right;
} }
#page-wrapper .side-panel .corpus-doc-view .annotated-field-wrapper .annotated-field-runs {
max-height: 200px;
overflow-y: scroll;
}
.simple-layout { .simple-layout {
height: 100%; height: 100%;
......
...@@ -10,6 +10,11 @@ ...@@ -10,6 +10,11 @@
width: 28% width: 28%
.header .header
float: right float: right
.corpus-doc-view
.annotated-field-wrapper
.annotated-field-runs
max-height: 200px
overflow-y: scroll
.simple-layout .simple-layout
height: 100% height: 100%
......
...@@ -126,7 +126,7 @@ docViewCpt = R.hooksComponentWithModule thisModule "docView" cpt where ...@@ -126,7 +126,7 @@ docViewCpt = R.hooksComponentWithModule thisModule "docView" cpt where
, params , params
, query , query
} _ = do } _ = do
pure $ H.div {className: "container1"} pure $ H.div { className: "doc-table-doc-view container1" }
[ R2.row [ R2.row
[ chart [ chart
, if showSearch then searchBar query else H.div {} [] , if showSearch then searchBar query else H.div {} []
......
...@@ -109,7 +109,7 @@ docViewCpt = R.hooksComponentWithModule thisModule "docView" cpt ...@@ -109,7 +109,7 @@ docViewCpt = R.hooksComponentWithModule thisModule "docView" cpt
else else
snd path $ const ipp snd path $ const ipp
pure $ H.div { className: "container1" } pure $ H.div { className: "facets-doc-view container1" }
[ R2.row [ R2.row
[ chart [ chart
, H.div { className: "col-md-12" } , H.div { className: "col-md-12" }
......
...@@ -84,7 +84,7 @@ docViewCpt = R.hooksComponentWithModule thisModule "docView" cpt ...@@ -84,7 +84,7 @@ docViewCpt = R.hooksComponentWithModule thisModule "docView" cpt
-- H.text (stringifyWithIndent 2 (encodeJson (fst state))) -- H.text (stringifyWithIndent 2 (encodeJson (fst state)))
-- ] ] <> -- ] ] <>
[ [
H.div { className: "container1" } H.div { className: "corpus-doc-view container1" }
[ [
R2.row R2.row
[ [
......
...@@ -68,15 +68,15 @@ homeLayoutCpt = R.hooksComponentWithModule thisModule "homeLayout" cpt ...@@ -68,15 +68,15 @@ homeLayoutCpt = R.hooksComponentWithModule thisModule "homeLayout" cpt
cpt {lang, backend, publicBackend, sessions, visible} _ = do cpt {lang, backend, publicBackend, sessions, visible} _ = do
let landingData = langLandingData lang let landingData = langLandingData lang
pure $ H.span {} pure $ H.span {}
[ H.div { className: "container1" } [ jumboTitle landingData false ] [ H.div { className: "home-title container1" } [ jumboTitle landingData false ]
, H.div { className: "container1" } [] -- TODO put research form , H.div { className: "home-research-form container1" } [] -- TODO put research form
, H.div { className: "container1" } [ blocksRandomText' landingData ] , H.div { className: "home-landing-data container1" } [ blocksRandomText' landingData ]
, H.div { className: "container1" } [ renderPublic { backend , H.div { className: "home-public container1" } [ renderPublic { backend
, publicBackend , publicBackend
, sessions , sessions
, visible , visible
} }
] ]
, license , license
] ]
......
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