OK figured this out.
The problem was the table fix CSS found in the mobile.css This adds a fixed width and some style to all tables as an override and also an instruction how to scroll. This is often a good idea for articles or stuff that is in a table and allows them to be seen using scroll bars. But it is a problem for some of the more responsive components that use tables with % widths because that gets overridden by the mobile defined fixed table widths. In my case joomla quiz deluxe.
I did not want to eliminate this feature by just removing the css code from the mobile.css file so used some more css to control when it would be used.
First I added a suffix "noautotable" into the template features for the menu id's I did not want the table scroll bars to be added. So I ended up with a few rules of the form item id and suffix in the template features settings.
Then to all the table fix lines of css code in the file mobile.css I added the code "body:not(.noautotable)" so lines like:
#gkMainbody table:before {
content: "Scroll horizontally to view the whole table";
height: 14px;
width: 100%;
display: block;
font-size: 10px;
margin-top: -30px;
margin-bottom: 10px;
font-family: Arial, sans-serif;
}
became
body:not(.noautotable) #gkMainbody table:before {
content: "Scroll horizontally to view the whole table";
height: 14px;
width: 100%;
display: block;
font-size: 10px;
margin-top: -30px;
margin-bottom: 10px;
font-family: Arial, sans-serif;
}
I did this for the six style rules in table fix.
This then switches off this template feature whenever I add the suffix to menu items I want to be left alone.
This seems like a complete solution to me, may have older browser issues, will check that out in due course, but works for all my test cases both mobile and desktop.
Please any feedback if there is a better way, also this should work on any of the templates in this series.
no-scroll.jpg
with-scroll.jpg