MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 407: Line 407:
     height: 100vh; /* Full viewport height */
     height: 100vh; /* Full viewport height */
     overflow-y: auto; /* Enable vertical scrolling */
     overflow-y: auto; /* Enable vertical scrolling */
    scrollbar-width: none; /* For Firefox */
     z-index: 1050; /* High enough to overlay content */
    -ms-overflow-style: none;  /* For Internet Explorer 10+ */
     z-index: 2; /* High enough to overlay content */
}
}
#show-article-outer-wrapper::-webkit-scrollbar {
#show-article-outer-wrapper::-webkit-scrollbar {
Line 415: Line 413:
}
}
#show-article-wrapper {
#show-article-wrapper {
    position: fixed; /* Change to fixed */
    top: 0;
    right: 0;
    width: 40%;
    height: 100vh; /* Set to full viewport height */
     overflow: visible!important;
     overflow: visible!important;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
     z-index: 2; /* Ensure it's above #list */
     z-index: 2; /* Ensure it's above #list */
}
}
Line 432: Line 423:
     background-color: white;
     background-color: white;
     border: 1px solid;
     border: 1px solid;
     padding: 0px 10px 0 10px;
     padding: 10px; /* Adjusted padding */
     position: relative;
     position: relative; /* Position relative to #show-article-wrapper */
     margin-left: 35px;
     /* Removed margin-left, top, right as they might not be necessary */
    top: 0;
     overflow: visible; /* For the pseudo-element */
    right: 0;
     overflow: visible; /* Keep for the pseudo-element effect */
}
}
#show-article:before {
#show-article:before {

Navigation menu