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

Role of contact in propal #29502

Open
zephyriony opened this issue Apr 26, 2024 · 2 comments
Open

Role of contact in propal #29502

zephyriony opened this issue Apr 26, 2024 · 2 comments
Labels
Bug This is a bug (something does not work as expected)

Comments

@zephyriony
Copy link
Contributor

Bug

The contact's role field in V19.0.1 is completely overwritten: it's clickable and selectable, but you can't see its content.

Dolibarr Version

19.0.1

Environment PHP

7.4

Environment Database

No response

Steps to reproduce the behavior and expected behavior

Go to commerce, then sales proposal, then Contacts / Addresses

Attached files

bug

@zephyriony zephyriony added the Bug This is a bug (something does not work as expected) label Apr 26, 2024
@zephyriony
Copy link
Contributor Author

The problem seems to come from the css :
width: calc(100% - 52px) !important;
Associated with select:
<select class="flat valignmiddle minwidth125imp widthcentpercentminusx maxwidth400 select2-hidden-accessible" name="type" id="type" data-select2-id="type" tabindex="-1" aria-hidden="true"></select>
The logic is good so that everything fits on the screen, but the other lists would have to be adjusted. I'd opt for a 33% x3, otherwise we'd have the problem, as here, of lengthy third-party names taking up half the page.

When you zoom out, the field appears correctly, but normally the standard is 100% and you shouldn't have to play with the zoom.

@zephyriony
Copy link
Contributor Author

The width of select2 is also very small:
width: 6px;
<span class="select2 select2-container select2-container--default" dir="ltr" data-select2-id="5" style="width: 6px;"></span>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

1 participant