-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1275 description markdown rendering not working (#1297)
* Course description on the watching page: Switch "Show more" and "Show less" to avoid confusion. Now the button reads "Show more" when the full description is not shown, and "Show less" when the full description is shown. * Change the hidden field containing the video description from input to span to preserve its formatting. * Collapse video description also when it is too high (more than 1 line of title + 1 line of plain text) * The hidden element holding the description simulates the real description environment, allowing the element's height to be accurately calculated even with blank lines; Remove debug code.
- Loading branch information
1 parent
f7fe0dc
commit d1d0ddc
Showing
3 changed files
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
.playlist-thumbnail { | ||
@apply bg-gray-100 dark:bg-gray-800 rounded-lg mr-4 bg-cover transition-all duration-500 hover:shadow-xl dark:shadow-gray-900/75; | ||
} | ||
} | ||
|
||
/* Rendered, but not visible on the screen. Enables layout calculations. */ | ||
.offscreen { | ||
position: absolute; | ||
left: -9999px; | ||
top: -9999px; | ||
width: 100%; | ||
height: auto; | ||
overflow: visible; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters