mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
feat(post): add floating preview of media from link in post content
This commit is contained in:
@@ -11,13 +11,16 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.subplebbitAvatar {
|
||||
.floatingEmbed, .subplebbitAvatar {
|
||||
max-width: 250px;
|
||||
max-height: 250px;
|
||||
margin: 3px 20px 5px 0;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.subplebbitAvatar {
|
||||
margin: 3px 20px 5px 0;
|
||||
}
|
||||
|
||||
.spoiler {
|
||||
display: inline-block;
|
||||
margin: 3px 20px 5px 20px;
|
||||
@@ -131,4 +134,11 @@
|
||||
|
||||
.fileDeleted {
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.thumbnail,
|
||||
.content {
|
||||
line-height: 0; /* Ensure no extra space due to line-height */
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user