Closed duchuytb9x closed 4 months ago
function getWindowDimensions() you can write in one place and use it in many places!
Thanks for your contribute, looks great, can you please made some adjust:
Please change the
.xxx { @media {...} }
.yyy { @media {...} }
to
@media {
.xxx {...}
.yyy {...}
}
Set a class name for elements which need to change style on Mobile.
Please don't copy the same code everywhere, use https://ahooks.js.org/hooks/use-size
or https://ahooks.js.org/hooks/use-responsive
replace getWindowDimensions
.
adjust completed. You can check change
Thanks for your work~.
Description
Change the interface of Dashboard, My-projects, Node-operators. Do not make changes on Desktop
Test cases:
Please describe tested cases.
Type of change
Please delete options that are not relevant.
UI Changes
Add before and after changes for UI if needed.