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 401: Line 401:
#show-article-wrapper {
#show-article-wrapper {
     display: none;
     display: none;
     position: fixed; /* Change to fixed */
     position: fixed;
     top: 0;
     top: 0;
     right: 0;
     left: 0;
     overflow: visible!important;
    width: 100vw; /* Cover the entire width */
     z-index: 2; /* Ensure it's above #list */
    height: 100vh; /* Cover the entire height */
     overflow: visible;
     z-index: 2; /* Above #list */
}
}
/* Hides scrollbar for Webkit browsers */
/* Hides scrollbar for Webkit browsers */
Line 412: Line 414:
}
}
#show-article-inner-wrapper {
#show-article-inner-wrapper {
top: 0;
position: absolute; /* Positioning within the fixed wrapper */
     right: 0;
     top: 0;
     overflow: auto;  
     right: 0; /* Align to the right */
     width: 40%;
     width: 40%; /* Or your desired width */
     height: 100vh;
     height: 100vh; /* Full height */
    overflow: auto; /* Scrollable content */
     scrollbar-width: none; /* Firefox */
     scrollbar-width: none; /* Firefox */
     -ms-overflow-style: none; /* Internet Explorer 10+ */
     -ms-overflow-style: none; /* IE 10+ */
}
}
#show-article {
#show-article {

Navigation menu