-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Remove useLayout #1080
Remove useLayout #1080
Conversation
…r/remove-uselayout
gui/src/components/MainLayout.scss
Outdated
@@ -0,0 +1,24 @@ | |||
.main-layout { | |||
display: grid; |
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.
Why is this not in tailwind?
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.
i think it makes sense in this case, because it needs to be a grid for the grid template to be applied
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.
make prettier check the scss pls
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.
tracker assignment tracker list seems to be broken. no longer shows unassigned trackers and assigned trackers in different lists
also seems like unassigned trackers look repeated two times?
This will remove the use of useLayout that was handling the size of most layouts with javascript. This was slow and also didnt work all the time when resizing the window. I removed that function and redid all the layouts with css only.
I also slided in minor css tweaks for padding and alignments, mostly for mobile
Fixes #1067