This patch tweaks the behavior of the top menu when it expands and collapse.
Before
After
Currently on mobile, when opening the top menu, the main content will be pushed downwards. See how the "Name" header row goes downwards and upwards with the top menu when it expands and collapses. This creates resizing issues on mobile devices sometimes. Fix the position of main content and make top menu go above it looks more consistent on the overall layout.
Also, I try to reduce the specificity of CSS rules step by step, to make them cleaner and easier to maintain. Here in this patch, there are a few lines modified, too.
On mobile, an open top menu will now go above the main content, instead of pushing the main content downward. This will prevent resizing issues.
This patch tweaks the behavior of the top menu when it expands and collapse.
Before
After
Currently on mobile, when opening the top menu, the main content will be pushed downwards. See how the "Name" header row goes downwards and upwards with the top menu when it expands and collapses. This creates resizing issues on mobile devices sometimes. Fix the position of main content and make top menu go above it looks more consistent on the overall layout.
Also, I try to reduce the specificity of CSS rules step by step, to make them cleaner and easier to maintain. Here in this patch, there are a few lines modified, too.