-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Responsive design can be improved for small devices #962
Comments
When the content width [box area with Basic Usage] is great than 900px, then the SideNav component is locked into the open position. Less than that and it auto-hides. |
@ThomasBurleson Are you sure? I think currently on the documentation site, the sidenav is locked open to gt-sm, which is greater than 600px not 900px. Maybe it should be gt-md? <md-sidenav layout="column"
style="overflow: hidden; display: flex;"
class="md-sidenav-left md-whiteframe-z2"
md-component-id="left"
md-is-locked-open="$media('gt-sm')"> |
Doe the commit c62b970536d on master not address this correctly? <md-sidenav class="md-sidenav-left md-whiteframe-z2" md-component-id="left" md-is-locked-open="$media('gt-md')"> Or perhaps I am misunderstanding something ?
|
Hi @ThomasBurleson, The screenshot that @MCBL posted wasn't of the md-sidenav demo (which I agree is working correctly), it was the progress-circular demo with the overall sidenav that is used to navigate the documentation site, so I took that to mean his issue was with that sidenav, but I'm not totally sure 😄 . I do think it might make sense to hide the sidenav on the documentation site for medium sized devices though... |
@MCBL - So this issue is about the responsive layout of the title bar text ? Missed that... sorry. |
Exactly yes, it's the header bar text that is poorly displayed. It clearly needs more space. That's why I propose to switch to menu when width is smaller than 771 pixels instead of 600. |
@ThomasBurleson: The commit you mentioned is for the sidenav demo. |
Closed with bfc947f |
Are you looking at material.angularjs.org or a local build from master? We are still working to get the site updated, which won't reflect these changes. |
At material.angularjs.org. Ok all right, thanks. |
@ThomasBurleson as you said "When the content width [box area with Basic Usage] is great than 900px, then the SideNav component is locked into the open position. Less than that and it auto-hides." How can i fix to open for all the resolutions? |
@ashishpatel02 - try |
Toolbar title, breadcrumb and directive name are poorly displayed:
A proposed solution would be to switch to menu when width is smaller than 771 pixels instead of 600.
The text was updated successfully, but these errors were encountered: