4,554
edits
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 400: | Line 400: | ||
/* Style the article window */ | /* Style the article window */ | ||
#show-article-wrapper { | #show-article-wrapper { | ||
display: none; | display: none; /* or 'block' if visible */ | ||
position: fixed; | position: fixed; | ||
top: 0; | top: 0; | ||
left: 0; | left: 0; | ||
width: 100vw; | width: 100vw; | ||
height: 100vh; /* | height: 100vh; | ||
overflow: visible | z-index: 1050; /* High enough to be on top */ | ||
overflow: visible!important; /* To allow pseudo-element to show */ | |||
} | } | ||
/* Hides scrollbar for Webkit browsers */ | /* Hides scrollbar for Webkit browsers */ | ||
Line 414: | Line 414: | ||
} | } | ||
#show-article-inner-wrapper { | #show-article-inner-wrapper { | ||
position: absolute; /* | position: absolute; /* Adjusted to 'absolute' */ | ||
top: 0; | top: 0; | ||
right: 0; /* | right: 0; /* Keeps it to the right */ | ||
width: 40%; /* | width: 40%; /* Adjust based on your design */ | ||
height: 100vh; | height: 100vh; | ||
overflow: auto; /* | overflow: auto; /* Allows scrolling within */ | ||
} | } | ||
#show-article { | #show-article { |