S
S
Shlyahten2015-10-24 19:22:07
css
Shlyahten, 2015-10-24 19:22:07

How to disable MDL adaptivity?

I use www.getmdl.io/index.html when developing a new template. Requires a version for wide screens, but at the same time properly displayed on narrow ones. In general, you need to disable the "compression" of the site.
A problem in the navigation component
When the display size is reduced, the structure of the navigation bar changes
Large screen
ROEGjpkZld4.jpg
____________________________________________________
Small screen
BnpU61DAlZ0.jpg
Tried to prescribe min-width: 1200px;- to no avail.
The code can be viewed here:
Editor - https://ide.c9.io/shlyahten/material
Example - https://preview.c9.io/shlyahten/material/index.html

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Radiks Alijevs, 2015-10-24
@Shlyahten

Disabled with meta tag
<meta name="viewport" content="width=1200>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question