Skip to content

Sticky text alignment in chat #869

@passing

Description

@passing

Jamulus version used: 3.6.2 on Windows 10

Issue

I noticed the following issue in the chat:

When you set the welcome message on your server to something like this:

<center>hello</center>

all messages written in the chat window (including timestamp and name) will be centered after you have connected to that server.
That issue persists even if you connect to a different server and only restarting your Jamulus Client or deleting the chat history resets the text alignment

using <div> instead of <center> works in a similar way

<div style="text-align: center">hello</div>
<div style="text-align: right">hello</div>

The problem can also be triggered by sending a message to the chat in the client:

<center>hello</center>

or by just sending the opening html tag

<center>

Workaround

As a workaround you can add a <div> to your welcome message that resets the alignment like this:

<center>hello</center><div style="text-align: left"/>

in the same way, you can reset the text alignment as a user by just sending this to the chat

<div style="text-align: left"/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions