Closed valentinedwv closed 5 years ago
could you expand on this use case? what would you do with the thing you found in a data portal when on a mobile device?
We will work on one.
Many people run around with tablets, or phablets. So demonstrating the product at a conference without having to whip out a computer.
Potrait on tablets may be the issue. Attaching a dev shot of rotated tablet from apple safari.
Is there a way to say, rotate your screen
I designed the portal to work on a tablet using the bootstrap CSS. We're not in production so I can't show you.
Would love to see those changes.
The Sandbox site displays with the iPad simulator. I found, like you, that the menu expanded and the search results slipped underneath the left menu after I had made some modifications to the original code. I put the logo into its own row to simplify layout clashes with the menu. I used browser Inspectors to made sure the site had a @media
designation. I made a few adjustments: I added to the navbar-nav, and modified the measurements for the .g-search-results class from pixels to relative measurement. Here is what I did.
Double check calcite-bootstrap.css: line 3823 for the at media modifications.
http://geoss.esri.com/geoportal2/lib/calcite-bootstrap/css/calcite-bootstrap.css
@media (min-width: 768px) .navbar-nav {float:left}
I added a phone modification in custom.css for the menu bar (phones rotated landscape work)
@media (min-width: 768px) .navbar-nav { margin: 5px; width: 70%; float: left;}
.navbar-nav > li > a { display: inline; }
in main.css :
.g-search-results {
max-height: -webkit-calc(100vh - 16em);
max-height: -moz-calc(100vh - 16em);
max-height: calc(100vh - 16em);
overflow: auto;
}
Added some bootstrap grid layout. Seems to function better on small screens.
Update: We've launched our Beta site where you can see the mobile accessibility. https://gda.alberta.ca/geoportal/
Support for tablets, and possibly phones.
Note from a user. I tried datadiscoverystudio.org on an iPad and got the attached screen.