Closed ioBroker-Bot closed 4 weeks ago
please see #255 (comment)
I was able to solve a few problems, but......
I have tried many things, but I think it is possible that is a iobroker admin (or controller) issue. The overflow from the checkbox labels are not correct displayed in iobroker. When you use the orginal material project, it display correct with the same code.
@simatec Could you help a little bit to solve the problem(s)
@misanorot Please test with current Admin v7.2.6. The changes for a responsive design with materialize are only available from this version onwards
@misanorot Please test with current Admin v7.2.6. The changes for a responsive design with materialize are only available from this version onwards
Thx for this information, but it doesnt work. In sum, the config page looks fine, but the long checkbox labels rendering is not correct.
In my opinion, the code is fine:
`
<div class="col s12 m4 l2">
<input type="checkbox" id="opt_warning" class="value" /><label for="opt_warning"
class="translate">opt_warning</label>
</div>
<div class="col s12 m4 l2">
<input type="checkbox" id="opt_siren" class="value" /><label for="opt_siren"
class="translate">opt_siren</label>
</div>
<div class="col s12 m4 l2">
<input type="checkbox" id="opt_leave" class="value" /><label for="opt_leave"
class="translate">opt_leave</label>
</div>
</div>`
But I am not a professional programmer.
Notification from ioBroker Check and Service Bot
Dear Adapter developer,
ioBroker should be fully usable and operable on mobile devices
So please check your Materialize or React based Adapter for Responsive Design. You can perform these tests in the developer console of your browser (F12).
Future additions and corrections to this issue will be published at the responsive-design-initiative repository. Please check https://github.com/iobroker-community-adapters/responsive-design-initiative?tab=readme-ov-file#responsive-design-initiative for updates.
For adapters in the Materialize design, important classes for the correct resolution should also be used for mobile devices.
List of classes for different display sizes:
The recommended values for a
<div>
are as follows:The classes s,m and l must be configured in each
<div>
.Custom css for the mobile resolution
If you use your own CSS styles in your adapters, you should define the necessary values for the mobile resolution in the area. The area must be listed as follows in the CSS:
Integration of css and js files
It is also important that the following js and css files are included in index_m.html or tab_m.html
Adapter-settings.js and adapter.css are very important for a responsive design. These files are provided and maintained by the admin.
Please close the issue after you checked it.
Feel free to contact me (@iobroker-bot) if you have any questions.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
@simatec for evidence
Note: If you added Responsive Design tests already, simply close this issue.