Jhernandez has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/197370

Change subject: Fix overflow and scrolling in the content overlay.
......................................................................

Fix overflow and scrolling in the content overlay.

overlay content was higher than it should and would clip list names and the top
of it's content

Bug: T92791
Change-Id: I1452841573de5ac2213a4ec0341521ff46ce817a
---
M resources/ext.gather.watchstar/contentOverlay.less
1 file changed, 7 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather 
refs/changes/70/197370/1

diff --git a/resources/ext.gather.watchstar/contentOverlay.less 
b/resources/ext.gather.watchstar/contentOverlay.less
index 36d8628..6ddd1a7 100644
--- a/resources/ext.gather.watchstar/contentOverlay.less
+++ b/resources/ext.gather.watchstar/contentOverlay.less
@@ -29,11 +29,14 @@
                }
        }
 
+       @topPadding: 1em;
        .overlay-content {
-               margin-top: ( @backgroundYOffset * 4) + @backgroundHeight;
-               padding: 0 1em 1em;
-               overflow: scroll;
-               height: 90%;
+               margin-top: ( @backgroundYOffset * 4) + @backgroundHeight - 
@topPadding;
+               padding: @topPadding 1em 1em;
+               overflow-y: scroll;
+               bottom: 0;
+               top: 0px;
+               position: absolute;
 
                .snapshot {
                        margin-bottom: 32px;

-- 
To view, visit https://gerrit.wikimedia.org/r/197370
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1452841573de5ac2213a4ec0341521ff46ce817a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Jhernandez <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to