Commit da9744f8 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[docs table] styling fix for scrollable doc abstracts

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