forked from GNUsocial/gnu-social
Trigger only on handheld device screens, not on browser screens, d'oh!
This commit is contained in:
parent
c9e8b1e5c3
commit
beddf90663
@ -175,7 +175,7 @@ class Action extends HTMLOutputter // lawsuit
|
|||||||
'type' => 'text/css',
|
'type' => 'text/css',
|
||||||
'href' => theme_path('css/mobile.css', 'base') . '?version=' . LACONICA_VERSION,
|
'href' => theme_path('css/mobile.css', 'base') . '?version=' . LACONICA_VERSION,
|
||||||
// TODO: "handheld" CSS for other mobile devices
|
// TODO: "handheld" CSS for other mobile devices
|
||||||
'media' => 'screen and (max-device-width: 480px)')); // Mobile WebKit
|
'media' => 'only screen and (max-device-width: 480px)')); // Mobile WebKit
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user