Comments (4)
I was able to recreate this issue on my Android Galaxy S2 phone. I can work on this.
What I notice is that on both the android and desktop versions, the box containing the share info seems to align on the right side of the link icon. My thought is that if it was reduced in width, say, to 2/3 (or around that value), that it would fit on the android screen?
from worldview.
@Dylan-Brown Sounds good. Could you make it responsive so that it stays the same size on desktop views and is a smaller width on mobile views?
from worldview.
@Benjaki2 I've looked at / played with the style attribute of this "
I've thought about changing the wv.link.css file to include the style elements and seeing if there was a way to make the width dynamic from there, but that doesn't seem to be the approach with all of the other "major" divs, as they also use in-line style.
I think I lack perspective when it comes to web dev and am struggling to figure out how everything pieces together. Could you possibly point me to a resource that could explain this at a high level?
from worldview.
@Dylan-Brown you can find whether the device is under our break point width using this:
https://github.com/nasa-gibs/worldview/blob/master/web/js/util/wv.util.browser.js#L66
e.g. var mobile = ui.util.browser.small; // mobile will be true or false
from worldview.
Related Issues (20)
- Added M[OY]G21 STD C6.1 layers HOT 2
- Add caveat to NOAA-20/VIIRS CR and TB layer descriptions
- Vector tile preloading issues HOT 3
- Investigate cross-fading tiles on time step HOT 1
- Tour animate function needs updating
- [DEVELOP] Error changing date when coordinate location marker is present HOT 4
- Add GOES-West caveat to description HOT 2
- add L30 to step one of HLS tour story
- Add SSEC VIIRS NOAA-20 Cloud prop HOT 1
- [DEVELOP] If B tab is selected and you exit comparison, map date should match B tab date.
- Update number of imagery layers to over 1000 HOT 2
- update VIIRS/NOAA-20 cloud descriptions for new layout
- Tooltip delay hangs too long over timeline buttons
- Update intro to WV tour story to include "today" button
- Tour step retains custom palette values
- [compare.mobile.init.2]: "B" comparison date is not 7 days before "A" date when coming from a saved URL
- Node: cannot execute binary file HOT 1
- You have a bug in the map view HOT 4
- Manual?? HOT 1
- UX issue: Close button and external link button overlapping on mobile
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from worldview.