mirror of
https://github.com/styppo/hamstr.git
synced 2024-10-18 13:33:22 +00:00
text formatting, justify, hyphenization.
This commit is contained in:
parent
3163b8bc9b
commit
da4d4e7ceb
@ -4,6 +4,8 @@
|
||||
</q-dialog>
|
||||
|
||||
<q-chat-message
|
||||
class="text-base font-sans break-words text-justify"
|
||||
style="hyphens: auto !important"
|
||||
:class="{invisible}"
|
||||
:text="text"
|
||||
:name="$store.getters.displayName(event.pubkey)"
|
||||
|
@ -64,8 +64,9 @@
|
||||
</div>
|
||||
</q-item-label>
|
||||
<q-item-label
|
||||
class="break-all pt-1 pl-1 text-base font-sans flex"
|
||||
class="pt-1 pl-1 text-base font-sans flex break-words text-justify"
|
||||
:class="{'cursor-pointer': item}"
|
||||
style="hyphens: auto !important"
|
||||
@mousedown="startClicking"
|
||||
@mouseup="finishClicking"
|
||||
>
|
||||
@ -132,7 +133,7 @@ export default {
|
||||
},
|
||||
|
||||
hasMore() {
|
||||
if (this.event.content.length > 270) return true
|
||||
if (this.event.content.length > 280) return true
|
||||
return false
|
||||
}
|
||||
},
|
||||
|
@ -32,7 +32,10 @@
|
||||
{{ shorten(event.pubkey) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-xl my-4 font-sans break-all">
|
||||
<div
|
||||
class="text-xl my-4 font-sans break-words text-justify"
|
||||
style="hyphens: auto !important"
|
||||
>
|
||||
<Markdown>{{ event.content }}</Markdown>
|
||||
</div>
|
||||
<div class="flex items-center justify-between w-full">
|
||||
|
Loading…
Reference in New Issue
Block a user