-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mobile ParaTime picker #482
Conversation
4c63ffd
to
6840586
Compare
Deployed to Cloudflare Pages
|
b1b4fbd
to
fe5a22f
Compare
A few questions / suggestions, @donouwens please comment.
|
|
fe5a22f
to
df5b260
Compare
Tested this again. Two comments/questions, to @donouwens and then to @lubej :
|
|
aacdf12
to
f334f45
Compare
@@ -80,6 +81,7 @@ const contentMinHeight = '270px' | |||
export const LayerDetails: FC<LayerDetailsProps> = ({ network, selectedLayer }) => { | |||
const { t } = useTranslation() | |||
const theme = useTheme() | |||
const isTablet = useMediaQuery(theme.breakpoints.down('md')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we use the newly available useScreenSize()
for this? It already provides isTable
. I think it would be confusing to use different definitions at multiple points of the code... right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, leftover from the rebase. Nice catch 👍
Reviewed the code, generally looks good (albeit there is lots of ugly CSS magic). I have left a bunch of small comments, and I have a bigger question which we will discuss in person |
c35ad3a
to
73a0ca6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed. LGTM.
on https://oasis-explorer.pages.dev/ it looks a bit weird |
Ah right, the warning message hides when scrolled to the bottom. Will fix |
No description provided.