Add More if There’s Enough Space
Add more widgets to the screen if there’s enough space.
We'll cover the following...
The Course application now has a menu that’s always visible if there’s enough space on the screen. But the menu could be more extensive on larger screens. For instance, we could add the page’s title next to its icon. Depending on the total width, we need to update the screen to reserve some space for the menu. We can also add the titles if the reserved space is big enough.
Reserve part of the width for the menu
We start by reserving a percentage of the total width of ...