fix shout

This commit is contained in:
Henry Jameson 2024-04-03 21:27:19 +03:00
parent 940df1efa7
commit fbea4f9986
2 changed files with 6 additions and 4 deletions

View File

@ -5,7 +5,7 @@
> >
<div class="panel panel-default"> <div class="panel panel-default">
<div <div
class="panel-heading timeline-heading" class="panel-heading"
:class="{ 'shout-heading': floating }" :class="{ 'shout-heading': floating }"
@click.stop.prevent="togglePanel" @click.stop.prevent="togglePanel"
> >
@ -18,7 +18,7 @@
/> />
</div> </div>
</div> </div>
<div class="shout-window"> <div class="panel-body shout-window">
<div <div
v-for="message in messages" v-for="message in messages"
:key="message.id" :key="message.id"
@ -41,10 +41,10 @@
</div> </div>
</div> </div>
</div> </div>
<div class="shout-input"> <div class="panel-body shout-input">
<textarea <textarea
v-model="currentMessage" v-model="currentMessage"
class="shout-input-textarea" class="shout-input-textarea input"
rows="1" rows="1"
@keyup.enter="submit(currentMessage)" @keyup.enter="submit(currentMessage)"
/> />

View File

@ -61,6 +61,8 @@ export const applyTheme = async (input) => {
parts[0], parts[0],
', ', ', ',
parts[0].replace(/\.modal-view/, '#modal'), parts[0].replace(/\.modal-view/, '#modal'),
', ',
parts[0].replace(/\.modal-view/, '.shout-panel'),
' {', ' {',
parts[1], parts[1],
'}' '}'