4,554
edits
No edit summary Tags: Manual revert Reverted |
No edit summary Tag: Reverted |
||
Line 107: | Line 107: | ||
#show-article-wrapper { | #show-article-wrapper { | ||
display: none; | display: none; | ||
position: | position: fixed; | ||
top: 0; | |||
right: 0; | |||
width: 40%; | width: 40%; | ||
height: 100vh; | |||
background-color: white; | |||
border: 1px solid; | |||
padding: 10px; | |||
z-index: 2; | |||
overflow-y: auto; /* Enable vertical scrolling when content overflows */ | overflow-y: auto; /* Enable vertical scrolling when content overflows */ | ||
} | } | ||
#show-article { | #show-article { | ||
width: 100%; | |||
} | } | ||
Line 134: | Line 130: | ||
border: 1px solid black; | border: 1px solid black; | ||
transform: rotate(-2.5deg); | transform: rotate(-2.5deg); | ||
z-index: 1; | z-index: 1; | ||
} | } | ||
Line 141: | Line 137: | ||
top: 0; | top: 0; | ||
right: 0; | right: 0; | ||
width: inherit; | width: inherit; | ||
background-color: white; | background-color: white; | ||
border: 1px solid; | border: 1px solid; | ||
padding: 10px; | padding: 10px; | ||
z-index: | z-index: 0; /* Lower z-index to keep it below other content in #show-article */ | ||
} | } | ||