Closed 0xMakka closed 7 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
carbon | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 15, 2024 7:20pm |
carbonmark | ✅ Ready (Inspect) | Visit Preview | Feb 15, 2024 7:20pm | |
carbonmark-api | ✅ Ready (Inspect) | Visit Preview | Feb 15, 2024 7:20pm | |
demo-integration | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 15, 2024 7:20pm |
klimadao-app | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 15, 2024 7:20pm |
Almost there, but I did find something:
Layout breaks (wrong alignments, text overflow) when the browser window is too small. To reproduce, make your browser window small enough so CM switches to mobile layout.
(This PR also fixes the retirements page btw, which is broken in the same way the provenance page is.)
Almost there, but I did find something:
Layout breaks (wrong alignments, text overflow) when the browser window is too small. To reproduce, make your browser window small enough so CM switches to mobile layout.
(This PR also fixes the retirements page btw, which is broken in the same way the provenance page is.)
Thanks @0xtapi I thought I had covered all bases with the initial, apologies. I've made some more changes to hopefully address the issues mentioned, it should be good to retest again.
One more small fix and this is good to go:
"1 tonnes" should be aligned to the right side of that element, right? It does seem to do that for large numbers (like here: https://carbonmark-git-makka-2273-fix-page-layout-issues-klimadao.vercel.app/retirements/0x65a5076c0ba74e5f3e069995dc3dab9d197d995c/8/provenance) but not small ones.
Description
GridContainer
is used for the page layouts and after the recent navigation changes, the page layout has changed. Grid container by default is settingdisplay: grid
, in this instance usingdisplay: unset
resolves the page issues.Note: I'd like to relook at these pages that use GridContainer in a follow up ticket and see can they now be replaced with the
Container
component from material-ui. I've briefly checked if it works, it does apart from the footer needs some work to span the full screen.Related Ticket
Closes #2273
How to Test
Screenshots: