Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple lines/breaks for text in Operator view #1339

Open
lx05 opened this issue Nov 19, 2024 · 1 comment
Open

Allow multiple lines/breaks for text in Operator view #1339

lx05 opened this issue Nov 19, 2024 · 1 comment

Comments

@lx05
Copy link

lx05 commented Nov 19, 2024

Request to allow multiple lines in the operator view. This way, line breaks can be used to format data and make it more organized. Right now, it always displays only one line, even if breaks have been added to the field in the editor.

Or could I change the CSS of the operator view to accommodate for that? How would I do this?

Thanks in advance

@lx05 lx05 changed the title Allow multiple lines /breaks in Operator view Allow multiple lines/breaks for text in Operator view Nov 19, 2024
@asharonbaltazar
Copy link
Collaborator

Hey, there!

Thanks for submitting this bug report. While I'll differ to the main maintainer of ontime to chime on whether this is intentional or not, if you are a bit web-dev savvy, a simple change to the whitespace property of the parent div could produce the desired line breaks. Feel free to follow up on further steps here!

Otherwise, the reason might lie with the way we're storing strings in the database (e.g. strips new lines before storing)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants