gismo141 / homebridge-server

Server plugin for homebridge
https://gismo141.github.io/configure-your-homebridge-2/
152 stars 20 forks source link

Format info with pre tag, new layout without tables, with mobile styles #28

Closed Danjohnsonnj closed 7 years ago

Danjohnsonnj commented 7 years ago

Instead of fighting browser default table styles, I've converted the layout to divs, laid out using flex-box. There is a mobile style, as well, using pseudo-content selectors for labels.

Safari and IE seem to want to wrap the content inside the pre (which is fine), but Chrome and Firefox let the pre scroll horizontally, as needed. In all cases all of the content is visible, including the remove button.

gismo141 commented 7 years ago

Thank you very much - I just adapted the plugins-table as well with the new style. Atm I'm not completely happy with the install/uninstall-button which are to small for the text, but I'll take a look later.

Good work! ;)

Danjohnsonnj commented 7 years ago

Thanks, glad to help!

~Could you point me to the "install/uninstall" button that you find too small?~ I see what you mean. I'd be happy to continue on with making adjustments :)