add feature to expand text posts from subreddit view

This commit is contained in:
teddit
2021-01-19 17:21:31 +01:00
parent d4e009ea28
commit 3ea653de22
5 changed files with 68 additions and 0 deletions
+41
View File
@@ -443,6 +443,47 @@ footer a {
#links.search .link .meta a.comments {
margin-left: 0px;
}
#links .link .entry .selftext {
unicode-bidi: isolate;
background-color: #fafafa;
border: 1px solid #369;
border-radius: 7px;
padding: 5px 10px;
margin: 10px auto 5px 0px;
font-size: 0.84rem;
max-width: 60em;
word-wrap: break-word;
float: left;
width: calc(100% - 100px);
}
#links .link .entry details {
margin: 0px 10px 0px 0px;
font-size: 0.7rem;
}
#links .link .entry details[open] {
width: 100%;
}
#links .link .entry details summary {
font-size: 0.833rem;
list-style-type: none;
padding: 4px;
}
#links .link .entry details > summary::-webkit-details-marker {
display: none;
}
#links .link .entry details summary:hover {
text-decoration: underline;
cursor: pointer;
}
#links .link .entry details .line {
width: 16px;
margin-top: 3px;
background: #979797;
border: 1px solid #b3b0b0;
}
#links .link .entry details .line:first-child {
margin-top: 0px;
}
/* COMMENTS */
.comment {
font-size: 0.83rem;