File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44}
55
66.demo-toolbar {
7+ display : flex ;
8+ flex-wrap : wrap ;
9+ align-items : center ;
710 position : sticky ;
811 top : 0 ;
912 z-index : 10 ;
1922
2023.demo-toolbar__title {
2124 font : var (--mat-sys-title-medium );
25+ min-width : 0 ;
2226}
2327
2428.demo-toolbar__spacer {
25- flex : 1 ;
29+ flex : 1 1 auto ;
30+ min-width : 0 ;
2631}
2732
2833.theme-controls {
2934 display : flex ;
3035 flex-wrap : wrap ;
3136 align-items : center ;
3237 gap : 1rem 1.25rem ;
38+ min-width : 0 ;
3339}
3440
3541.theme-controls__color {
3642 display : flex ;
3743 align-items : center ;
3844 gap : 0.5rem ;
3945 cursor : pointer ;
46+ min-width : 0 ;
4047}
4148
4249.theme-controls__label {
103110 color : var (--mat-sys-primary );
104111}
105112
106- @media (max-width : 720 px ) {
113+ @media (max-width : 850 px ) {
107114 .demo-toolbar__title {
108115 display : none ;
109116 }
112119 display : none ;
113120 }
114121}
122+
123+ @media (max-width : 520px ) {
124+ .theme-controls__presets {
125+ display : none ;
126+ }
127+ }
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ <h2 id="nav-heading" class="showcase-section__title">Navigation</h2>
162162 </ a >
163163 </ mat-nav-list >
164164
165- < button matButton ="outlined " [matMenuTriggerFor] ="demoMenu ">
165+ < button class =" showcase-menu " matButton ="outlined " [matMenuTriggerFor] ="demoMenu ">
166166 < mat-icon > more_vert</ mat-icon >
167167 Menu
168168 </ button >
Original file line number Diff line number Diff line change 11.showcase-grid {
2- display : grid ;
2+ display : flex ;
3+ flex-direction : column ;
34 gap : 1.75rem ;
5+ width : 100% ;
46}
57
68.showcase-section__title {
7375 overflow : hidden ;
7476}
7577
78+ .showcase-menu {
79+ align-self : flex-start ;
80+ }
81+
7682@media (min-width : 960px ) {
7783 .showcase-grid {
84+ display : grid ;
7885 grid-template-columns : repeat (2 , minmax (0 , 1fr ));
7986 }
8087
You can’t perform that action at this time.
0 commit comments