mirror of https://github.com/zulip/zulip.git
landing_page: Switch to sidebar menu earlier at width <= 1024px.
Right now, some of our horizontally spaced out top-level dropdowns (such as "Solutions") get truncated on screen widths less than 1024 px. We switch to the vertical sidebar menu at widths less than 686px. Looking at a lot of mainstream websites, a few of them switch to a vertical sidebar menu on much wider widths than we do. Plus, switching to a vertical orientation is a much cleaner way to fix this issue than playing around with legacy Bootstrap code. Therefore, we should toggle on the sidebar menu at width <= 1024px.
This commit is contained in:
parent
b44e6123fe
commit
13b0114bcc
|
@ -329,7 +329,7 @@ nav {
|
|||
width: 300px;
|
||||
}
|
||||
|
||||
@media (width > 686px) {
|
||||
@media (width > 1024px) {
|
||||
ul.product-options {
|
||||
width: 125px;
|
||||
}
|
||||
|
@ -3504,7 +3504,7 @@ nav {
|
|||
}
|
||||
}
|
||||
|
||||
@media (width <= 686px) {
|
||||
@media (width <= 1024px) {
|
||||
.portico-landing {
|
||||
padding-top: 120px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue