jenkins-bot has submitted this change and it was merged.

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, 9 insertions(+), 4 deletions(-)

Approvals:
  Jdlrobson: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/resources/ext.gather.watchstar/contentOverlay.less 
b/resources/ext.gather.watchstar/contentOverlay.less
index 36d8628..df2d23a 100644
--- a/resources/ext.gather.watchstar/contentOverlay.less
+++ b/resources/ext.gather.watchstar/contentOverlay.less
@@ -29,11 +29,16 @@
                }
        }
 
+       @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;
+               top: 0;
+               bottom: 0;
+               left: 0;
+               right: 0;
+               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: merged
Gerrit-Change-Id: I1452841573de5ac2213a4ec0341521ff46ce817a
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Jhernandez <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to