Skip to content

Commit

Permalink
Fixed white spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
simjanos-dev committed Apr 17, 2024
1 parent c92f2fc commit 90f34d9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
2 changes: 2 additions & 0 deletions public/js/app.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1299,6 +1299,8 @@

/*! no static exports found */

/*! showdown v 1.9.1 - 02-11-2019 */

/*! vue */

/*!**********************!*\
Expand Down
22 changes: 8 additions & 14 deletions resources/js/components/Text/TextBlockGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,12 @@
@touchend.stop="finishSelection"
>

<template v-for="(word, wordIndex) in words">
<!-- New line -->
<br v-if="word.word === 'NEWLINE'" />

<!-- Subtitle timestamp -->
<div class="subtitle-timestamp rounded-pill py-1 mt-12 mb-1" v-if="word.subtitleIndex !== -1">
{{ subtitleTimestamps[word.subtitleIndex].start }}
</div>

<div
<template v-for="(word, wordIndex) in words"><!--
--><br v-if="word.word === 'NEWLINE'" /><!--
--><div class="subtitle-timestamp rounded-pill py-1 mt-12 mb-1" v-if="word.subtitleIndex !== -1"><!--
-->{{ subtitleTimestamps[word.subtitleIndex].start }}<!--
--></div><!--
--><div
v-else
:wordindex="wordIndex"
:stage="word.stage"
Expand All @@ -80,10 +76,8 @@
}"

:key="wordIndex"
>
{{ word.word }}
</div>
</template>
>{{ word.word }}</div><!--
--></template>
</div>

<!-- Vocabulary popup box -->
Expand Down

0 comments on commit 90f34d9

Please sign in to comment.