Hi,
Am I the only one with this kind of display in Admin?
It shows so in Safari and FF on both iPadOS and MacOS…
Hi,
Am I the only one with this kind of display in Admin?
It shows so in Safari and FF on both iPadOS and MacOS…
No, same for me (macOS & Safari).
Is it the same for everyone then?
FWIW, this is what I get with Firefox 76.0.1 (64-Bit) running on Win 7:
I get the same results with Chrome and Opera, also running on Win 7.
Yes, that looks as expected.
Does this look like a css-problem?
Something with CR/LF?
Ubuntu 18.04 running Opera (showing slightly more than a screen-full):
It’s beginning to look like an Apple/MacOS problem.
What happens when you use the screen zoom?
Can you click on copy as markdown and post it here (no further formatting required).
What hardware are you on?
The md looks good:
Model :- Raspberry Pi 3 Model B Rev 1.2 - 1GB (Sony UK)
Serial num. :- D87C2AB3
CPU Temperature :- 49.39°C
GPU Temperature :- 49.9°C
emonpiRelease :- emonSD-17Oct19
File-system :- read-write
Hardware is MacMini with latest MacOS, Ipad Pro with latest iPadOS…
You mean like full screen view? No difference. Also when scaling down or up…
Here is what Safari says in the webdeveloper > elements:
<div id="serverinfo-container">
<h4 class="text-info text-uppercase border-top pt-2 mt-0 px-1">Services</h4>
<dl class="row">
<dt class="col-sm-2 col-4 text-truncate "><span class="badge-success badge"></span> emonhub</dt>
<dd class="col-sm-10 col-8 border-box px-1 "><strong>Active</strong> Running</dd> <dt class="col-sm-2 col-4 text-truncate "><span class="badge-success badge"></span> emoncms_mqtt</dt>
<dd class="col-sm-10 col-8 border-box px-1 "><strong>Active</strong> Running</dd> <dt class="col-sm-2 col-4 text-truncate "><span class="badge-success badge"></span> feedwriter</dt>
<dd class="col-sm-10 col-8 border-box px-1 "><strong>Active</strong> Running - sleep 300s
Strange enough the second <dt>
does not start on a new line. Not shure if it should…
A correction on my mention of FireFox: when on iPad: wrong, when on Mac: good.
I also checked Chrome on Mac and there it looks OK too.
All you can do is have a play with the file locally - /var/www/emoncms/Modules/admin/admin_main_view.php
If changing it, I’m pretty sure there is no need to restart apache, just need to wait a short while then refresh the page. I usually add some text somewhere so I know it has picked up the new version.
Could just be a bug in their render engine.
It does look to be that. When I turn off the property “flex: 0 0 83.333333%;” in the file /Theme/basic/emoncms-base.css, (marked by the mouse cursor) I can reproduce your problem. So it looks as if your web browser doesn’t recognise the “flex” property.
The problem also appears if max-width is not big enough.
More information: Can I use... Support tables for HTML5, CSS3, etc
Hmm, according to css - flex-wrap not working as expected in Safari - Stack Overflow this problem seems to be known and still existing.
Unfortunately I know so little about css, that I don’t know what solution to use, nor where to put it.
You seem to know your way around css, so could you give me a hint?
I don’t know my way around the emonPi, and I don’t know the Apple OS either - so I’m sorry but I can’t help you.
I think @Jon uses an Apple, he might be able to help.
The problem also appears if max-width is not big enough.
Hi all! Hope everyone is healthy!
I don’t have a current version on my emonPi and so I don’t see the same issue. You may need to ask one of the developers to code up a change. Sorry I could not be more help!
Same problem here, Apple OS on 90% of my devices. I’ve been meaning to ask the same question for some time but never got around to it. To be honest, I’ve always intended to dig into the css for myself with the intention of posting a solution but never got around to it!
Will see if I can sort it out!
When I rewrote Robin’s website for him, I used “A Complete Guide to Flexbox” - CSS-Tricks
It was the first time I’d used Flexbox, so I’m definitely not an expert. I tracked the file down eventually, that line is inside a section that’s specific for a screen size, so I suspect you need to make something that works only with the Apple OS.
Thanks, certainly looks like an issue with Safari as it renders as expected using Chrome on MacOS. Will dig further.
There is an open issue
This problem seems to be solved in iPadOS 14…