MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tags: Manual revert Reverted
Line 107: Line 107:
#show-article-wrapper {
#show-article-wrapper {
     display: none;
     display: none;
     position: fixed;
    position: relative;
    width: 40%;
    max-height: 80vh; /* Set a maximum height (adjust as needed) */
    overflow-y: auto; /* Enable vertical scrolling when content overflows */
}
 
 
#show-article {
     position: fixed;  
     top: 0;
     top: 0;
     right: 0;
     right: 0;
     width: 40%;
     margin-right: 2%;
     height: 100vh; /* Adjust the height as needed */
    margin-top: 2%;
     width: inherit;
     background-color: white;
     background-color: white;
     border: 1px solid;
     border: 1px solid;
     padding: 10px;
     padding: 10px;
     z-index: 2; /* Ensure it's above #article-frame */
     z-index: 2; /* Ensure it's above #article-frame */
    overflow-y: auto; /* Enable vertical scrolling when content overflows */
}
#show-article {
    width: 100%; /* Make the width 100% to fill the wrapper */
}
}


Line 137: Line 141:
     top: 0;
     top: 0;
     right: 0;
     right: 0;
    margin-right: 2%;
    margin-top: 2%;
     width: inherit;
     width: inherit;
    max-height: 80vh; /* Set a maximum height (adjust as needed) */
    overflow-y: auto; /* Enable vertical scrolling when content overflows */
     background-color: white;
     background-color: white;
     border: 1px solid;
     border: 1px solid;

Navigation menu