amidaware / tacticalrmm

A remote monitoring & management tool, built with Django, Vue and Go.
https://docs.tacticalrmm.com
Other
2.92k stars 422 forks source link

carriage return not displayed on custom fields on the summary tab #1822

Open P6g9YHK6 opened 3 months ago

P6g9YHK6 commented 3 months ago

Is your feature request related to a problem? Please describe. custom fields are not display on the summary tab.

Describe the solution you'd like line returns to be displayed properly. and if any line return is detected in the custom filed add another one after the field name (or before the first char) to avoid tabulation issues.

Describe alternatives you've considered none.

Additional context image image

P6g9YHK6 commented 3 months ago

Probably making the custom field name bold would help with readability too

wh1te909 commented 3 months ago

Like this?

chrome_wy5InN4uRm

P6g9YHK6 commented 3 months ago

yep but the extra line return would be usefull only for multi-lines variables to avoid clutter but that's up to you ;)

wh1te909 commented 3 months ago

the extra line (in the example above, the time) which I think is what you're referring to, is just getting pushed to the next line cuz there's not enough space in the div, is not actually a newline

P6g9YHK6 commented 2 months ago

I was not referring to the time but the line created after the name of the variable.

If the variable has multiple line it would do this :

CUSTOMFIELDNAME: ASDF ASFC ASDGG

and if there is only one line in the custom field: CUSTOMFIELDNAME: ASDF

This is only a proposal to keep stuff tight your design is good too 😉