Adjust the break point
This commit is contained in:
parent
028d0175eb
commit
935a3a286c
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ impl Sandbox for Window {
|
||||||
// involves allocations for many different items. Ideally, we could only make the nav bar
|
// involves allocations for many different items. Ideally, we could only make the nav bar
|
||||||
// responsive and leave the content to be sized normally.
|
// responsive and leave the content to be sized normally.
|
||||||
responsive(|size| {
|
responsive(|size| {
|
||||||
let condensed = size.width < 800.0;
|
let condensed = size.width < 900.0;
|
||||||
let sidebar: Element<_> = nav_bar!(
|
let sidebar: Element<_> = nav_bar!(
|
||||||
//TODO: Support symbolic icons
|
//TODO: Support symbolic icons
|
||||||
nav_button!("network-wireless", "Wi-Fi", condensed)
|
nav_button!("network-wireless", "Wi-Fi", condensed)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue