summaryrefslogtreecommitdiffstats
path: root/css
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2022-09-07 16:22:07 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2022-09-07 16:36:39 +0200
commita0f9c6255e98f6ec7fb1dc92a4ce2fa849e3514a (patch)
tree569bb55a1d7dd37a56f3adbb842811b30365137f /css
parent97d91091226276c3669a10f20493f2355b2a17b4 (diff)
Fix Talk sidebar overlapping the PDF viewer
The iframe of the PDF viewer is shown with an absolute position and full width and height, so it takes the size of the first parent with a relative or fixed position. That parent was the main content element, which is also a parent of the sidebar and therefore its size includes it, so the iframe filled the content and extended behind the sidebar. To solve that now a relative position is set for #app-content, which is a sibling of the sidebar and therefore prevents the iframe from overlapping it. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'css')
-rw-r--r--css/publicshare.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/css/publicshare.css b/css/publicshare.css
index 1697e25f9..1747a4c65 100644
--- a/css/publicshare.css
+++ b/css/publicshare.css
@@ -38,6 +38,8 @@
}
#app-content {
+ position: relative;
+
display: flex;
flex-direction: column;
overflow-y: auto;