File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed
Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change @@ -186,3 +186,54 @@ body {
186186}
187187
188188}
189+
190+ /* SIDEBAR FIXES */
191+
192+ /* =========================
193+ Portrait phones (sidebar on TOP)
194+ ========================= */
195+ @media (max-width : 900px ) and (orientation : portrait) {
196+ .content-area {
197+ flex-direction : column;
198+ }
199+
200+ .sidebar {
201+ width : 100% ;
202+ flex-direction : row;
203+ overflow-x : auto;
204+ }
205+
206+ .sidebar-item {
207+ white-space : nowrap;
208+ }
209+
210+ .title {
211+ font-size : 25px ;
212+ padding-bottom : 5px ;
213+ }
214+ }
215+
216+ /* =========================
217+ Landscape phones (sidebar on LEFT)
218+ ========================= */
219+ @media (max-width : 900px ) and (orientation : landscape) {
220+ .content-area {
221+ flex-direction : row; /* BACK TO LEFT SIDEBAR */
222+ }
223+
224+ .sidebar {
225+ width : 220px ;
226+ flex-direction : column;
227+ overflow-x : hidden;
228+ overflow-y : auto;
229+ }
230+
231+ .sidebar-item {
232+ white-space : normal;
233+ }
234+
235+ .panel {
236+ padding : 24px ;
237+ }
238+ }
239+
You can’t perform that action at this time.
0 commit comments