jhpyle / docassemble

A free, open-source expert system for guided interviews and document assembly, based on Python, YAML, and Markdown.
https://docassemble.org
MIT License
768 stars 252 forks source link

Remove underlined space from back button #790

Closed samglover closed 1 month ago

samglover commented 1 month ago

This is a minor issue, but when using the text back button there is an underlined space:

Screenshot 2024-07-14 at 1 28 58 PM

It doesn't change the usability, but it looks a little odd. I think it looks absolutely fine without the space:

Screenshot 2024-07-14 at 1 31 05 PM

It looks like removing the space at the end of this line (after the </i>) ought to do it. Or if you wanted some additional space, the next line could be changed to the following:

back_button += '<span class="ms-1">' + status.back + '</span>'

That looks pretty similar to the existing spacing, just without the underlined space:

Screenshot 2024-07-14 at 1 38 28 PM

If you would consider a pull request (and if I'm right about where the changes need to happen) I'd be happy to submit this minor change.

jhpyle commented 1 month ago

Ok I made the change and it will be in the next version.