fixing emoji picker in atmos layout, re-adding old emojis

This commit is contained in:
2021-07-11 14:39:28 +00:00
parent 576669d9ee
commit 505d221dc8
3 changed files with 13 additions and 13 deletions

View File

@@ -264,6 +264,7 @@ class Markdown extends \Parsedown {
$e['element']['attributes']['src'] = $e['element']['attributes']['href']; $e['element']['attributes']['src'] = $e['element']['attributes']['href'];
$e['element']['attributes']['alt'] = 'Image'; $e['element']['attributes']['alt'] = 'Image';
$e['element']['attributes']['class'] = 'comment_image'; $e['element']['attributes']['class'] = 'comment_image';
$e['element']['attributes']['loading'] = 'lazy';
unset($e['element']['attributes']['href']); unset($e['element']['attributes']['href']);
unset($e['element']['text']); unset($e['element']['text']);
return $e; return $e;

View File

@@ -2899,7 +2899,7 @@ button#toggle:not(:focus) {
} }
span.videoinfo { span.videoinfo {
background: #1f1f20; background: #1f1f20d1;
border-radius: 5px; border-radius: 5px;
padding: 5px; padding: 5px;
} }
@@ -3236,17 +3236,12 @@ a.file_size {
.comment_emoji_small { .comment_emoji_small {
height: 50px; height: 50px;
width: auto; width: auto;
margin-right: 5px;
background: #6c6c7b;
border-radius: 5px; border-radius: 5px;
vertical-align: super;
margin-bottom: 5px;
} }
.emojis { .emojis {
margin-left: 5px; display: flex;
margin-right: 5px; flex-flow: row wrap;
white-space: nowrap;
} }
#parent { #parent {
@@ -3831,8 +3826,8 @@ button#layout5 {
} }
div#parent { div#parent {
overflow-x: overlay !important; overflow-y: scroll;
overflow-x: scroll; height: 10rem;
} }
a.not-safe-for-work { a.not-safe-for-work {
@@ -3869,11 +3864,9 @@ button#layout4:before {
#parent { #parent {
background: #3a3938; background: #3a3938;
border-radius: 0; border-radius: 0;
padding: 5px;
cursor: pointer; cursor: pointer;
margin-left: 5px; margin-left: 5px;
margin-right: 5px; margin-right: 5px;
padding-right: 50px;
border-left: 1px solid black; border-left: 1px solid black;
border-bottom: 1px solid black; border-bottom: 1px solid black;
border-right: 1px solid black; border-right: 1px solid black;
@@ -4162,6 +4155,12 @@ pre {
.w0bm_emoji_anchor { .w0bm_emoji_anchor {
display: inline-flex; display: inline-flex;
flex-grow: 1;
background: #262626;
margin: 2px;
justify-content: center;
border-radius: 5px;
padding: 5px;
} }
.vidinfo { .vidinfo {

View File

@@ -14,7 +14,7 @@
@if($video->id == '27204') @if($video->id == '27204')
<iframe src="https://w0bm.com/loop/index.html"></iframe> <iframe src="https://w0bm.com/loop/index.html"></iframe>
@else @else
<video id="video" loop controls preload="auto" crossorigin="anonymous"> <video id="video" loop controls preload="auto" crossorigin="anonymous" loading="lazy">
<source src="/b{{ "/" . $video->file }}"> <source src="/b{{ "/" . $video->file }}">
</video> </video>
@endif @endif