File tree Expand file tree Collapse file tree 2 files changed +32
-4
lines changed
src/app/features/references/api-reference-list Expand file tree Collapse file tree 2 files changed +32
-4
lines changed Original file line number Diff line number Diff line change @@ -88,3 +88,31 @@ $screen-xxl: 1800px;
8888 @content ;
8989 }
9090}
91+
92+ @mixin filter-api-smartphone-tablet-layout {
93+ @container api-ref-page (max-width : 580px ) {
94+ .adev-reference-list-status ::ng- deep .mat- mdc- chip- listbox {
95+ width : 100% ;
96+
97+ .mdc-evolution-chip-set__chips {
98+ display : grid !important ;
99+ grid-template-columns : repeat (2 , 1fr );
100+ gap : 8px ;
101+ }
102+
103+ .mat-mdc-chip-option {
104+ min-width : 0 ;
105+ width : 100% ;
106+ margin : 0 ;
107+ }
108+ }
109+ }
110+
111+ @container api-ref-page (max-width: 350px) {
112+ .adev-reference-list-status ::ng- deep .mat- mdc- chip- listbox {
113+ .mdc- evolution- chip- set__chips {
114+ grid-template-columns : 1fr ;
115+ }
116+ }
117+ }
118+ }
Original file line number Diff line number Diff line change 1+ @use ' @angular/docs/styles/media-queries' as mq ;
2+
13:host {
24 padding : var (--layout-padding );
35 display : block ;
128130 display : flex ;
129131 align-items : center ;
130132 margin-top : 12px ;
131-
132- label {
133- margin-right : 8px ;
134- }
135133}
134+
135+ @include mq .filter-api-smartphone-tablet-layout ;
You can’t perform that action at this time.
0 commit comments