mirror of https://github.com/FreeTubeApp/FreeTube
Fix text wrapping for community posts (#3540)
* Fix text wrapping for community posts * Use anywhere instead of break-word for overflow-wrap
This commit is contained in:
parent
763dcb3897
commit
15b8dffaf3
|
@ -66,6 +66,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
.postText {
|
||||
overflow-wrap: anywhere;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.bottomSection {
|
||||
color: var(--tertiary-text-color);
|
||||
display: block;
|
||||
|
|
|
@ -25,7 +25,10 @@
|
|||
{{ publishedText }}
|
||||
</p>
|
||||
</div>
|
||||
<p v-html="postText" />
|
||||
<p
|
||||
class="postText"
|
||||
v-html="postText"
|
||||
/>
|
||||
<tiny-slider
|
||||
v-if="type === 'multiImage' && postContent.content.length > 0"
|
||||
v-bind="tinySliderOptions"
|
||||
|
@ -114,5 +117,5 @@
|
|||
</template>
|
||||
|
||||
<script src="./ft-community-post.js" />
|
||||
<style src="./ft-community-post.scss" lang="scss" />
|
||||
<style scoped src="./ft-community-post.scss" lang="scss" />
|
||||
<style src="./slider-style.css" lang="css" />
|
||||
|
|
Loading…
Reference in New Issue