File tree 2 files changed +27
-0
lines changed
2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 121
121
@include flex (0 , 0 , 90% );
122
122
max-width : 90% ;
123
123
}
124
+
125
+
126
+ /* Responsive Grid Attribute */
127
+ /* Adding a class of responsive to a row */
128
+ /* will trigger the flex-direction to */
129
+ /* change to column and add some margin */
130
+ /* to any columns in the row for clearity */
131
+
132
+ /* Adjust the max-width value to fit your own needs */
133
+ /* Defaults to 767px (iPad portrait width)*/
134
+
135
+ @media (max-width : $grid-responsive-break ) {
136
+ .responsive .col {
137
+ width : 100% ;
138
+ margin-bottom :15px ;
139
+ }
140
+ .responsive {
141
+ -webkit-box-direction : normal ;
142
+ -moz-box-direction : normal ;
143
+ -webkit-box-orient : vertical ;
144
+ -moz-box-orient : vertical ;
145
+ -webkit-flex-direction : column ;
146
+ -ms-flex-direction : column ;
147
+ flex-direction : column ;
148
+ }
149
+ }
Original file line number Diff line number Diff line change @@ -495,6 +495,7 @@ $modal-bg-color: #fff !default;
495
495
// -------------------------------
496
496
497
497
$grid-padding-width : 10px !default ;
498
+ $grid-responsive-break : 767px !default ;
498
499
499
500
500
501
// Action Sheets
You can’t perform that action at this time.
0 commit comments