Collapse menu item on tablet devices in landscape
Currently, the uncollapsed menu consumes too much space.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Jonathan Weth added part::frontend type::bug labels
added part::frontend type::bug labels
- Jonathan Weth assigned to @ZugBahnHof
assigned to @ZugBahnHof
- Jonathan Weth added source::customer label
added source::customer label
- Author Owner
Guck mal, ob das geht (live overriding of the size method)
Edited by Jonathan Weth - Developer
Notes:
- I didn't manage to achieve the desired effect
- Changes in JS:
- Use
M
, instead ofjQuery
, to actually change the instance - Override two methods,
_isCurrentlyFixed()
and_handleWindowResize()
- Use
- Changes in CSS (only via browser-devtools):
- Have margin left also on bigger screens (origin: style.scss)
- Something else sidenavvy with mediaqueries (origin: somewhere in MAT)
- Changes in HTML (I didn't do them, but they would have to be done):
- Display the hamburger menu sooner
- Conclusion:
- It doesn't work, the menu still opens at 992px window width, and casts kind of a shadow on big screens now (only if resized)
- I don't like materialize (anymore)
- I am not sure on how to continue
Collapse replies - Owner
Start the Vuetify migration instead ;).
...
30 Apr 2022 00:53:31 Julian (@ZugBahnHof) no-reply@edugit.org:
-
I don't like materialize (anymore)
-
I am not sure on how to continue
-
- Owner
Obsoleted by #696 (closed)
- Nik | Klampfradler closed
closed
- Nik | Klampfradler unassigned @ZugBahnHof
unassigned @ZugBahnHof
Please register or sign in to reply