fix post selftext when expanding it on subreddit view, fixes #137

This commit is contained in:
teddit 2021-01-27 18:52:18 +01:00
parent 1f296ec3aa
commit cbc06fd3c9
1 changed files with 9 additions and 4 deletions

View File

@ -498,10 +498,6 @@ footer a {
margin-top: 0; margin-top: 0;
} }
@media screen and (max-width: 600px) { @media screen and (max-width: 600px) {
#links .link .entry details[open] .preview {
width: 100vw;
transform: translateX(-150px);
}
} }
/* COMMENTS */ /* COMMENTS */
.comment { .comment {
@ -1548,4 +1544,13 @@ code {
.explore#links .link .entry { .explore#links .link .entry {
width: calc(100% - 20px); width: calc(100% - 20px);
} }
#links .link .entry details[open] .preview {
width: 100vw;
transform: translateX(-150px);
}
#links .link .entry .selftext {
width: calc(100vw - 40px);
transform: translateX(-150px);
margin-left: 10px;
}
} }