mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-20 21:38:41 -04:00
Add functionality to read more button
This commit is contained in:
parent
533d0a1fd4
commit
c5fae84263
2 changed files with 44 additions and 7 deletions
|
@ -669,3 +669,28 @@ See https://stackoverflow.com/a/34372979 for more info */
|
|||
hr {
|
||||
margin: auto 0 auto 0;
|
||||
}
|
||||
|
||||
/* Description Expandsion Styling*/
|
||||
#description-box {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#readmorebutton {
|
||||
display: none
|
||||
}
|
||||
|
||||
#readmorebutton ~ div {
|
||||
overflow: hidden;
|
||||
height: 8.3em;
|
||||
}
|
||||
|
||||
#readmorebutton:checked ~ div {
|
||||
overflow: unset;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#readmorebutton + label {
|
||||
order: 1;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue