I have a table with rows that background colour changes when hovered over, this works perfect on full screen, but as soon as I change the screen size smaller then the background colour seems to cut half way through the row.
The smaller I make the screen size the less of the row background colour changes. Please see the screenshot below. I am hovering over the middle cell and the background colour changes to green for the first half of the row but then stops and the rest of the row remains white.
Just to add…
I also see that the border under the “VIN” stops at the same place as the background colour in the row.
Could you provide us with your appId and the page name of the example located?
Thanks for your assistance.
APP ID: 56447795-182A-D679-FF9E-05029343F800
Block path: Page / Page Panel / main / crm-content / update / update-form / form-table / form-main / block-vehicles / list-vehicle
I don’t know how to make this list visible. Can you mock the page state to test it?
Good Day @viktor.liablin
My apologies for taking so long to get back to you. I have created “testPage” for you to test the table.
If the screen size is made smaller than 1130px the table will start being cut off, and the hover over effect seems to also be cut. Example… if you make the page size 850px and on the table section you scroll all the way to the right, once you hover you will see that the row background colour changes until a point where it remains the same. I need the background colour to fill the complete row.
Here is my CSS for class new-table-row:
For the “testPage”, I added the “table_scroll_container”. It is a child of “table” and parent of “table__inner”.
“table_scroll_container”: overflow: scroll, width: 100%.
For “table__inner” delete “overflow” or set “overflow” to “visible” and set “width”: max-content (for “table__inner” you have styles that I can not find, there you have width: 100% and overflow: auto)