mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Issue 1958 mobile link text size adjustment
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10642 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
87841ead7a
commit
37c970fd7f
1 changed files with 3 additions and 1 deletions
|
|
@ -406,7 +406,9 @@
|
|||
if($type == "view" && $this->module_info->use_mobile == "Y" && Mobile::isMobileCheckByAgent())
|
||||
{
|
||||
global $lang;
|
||||
$footer = '<div style="margin:1em 0;padding:.5em;background:#333;border:1px solid #666;border-left:0;border-right:0"><p style="text-align:center;margin:1em 0"><a href="'.getUrl('m', '1').'" style="color:#ff0;font-weight:bold;font-size:24px">'.$lang->msg_pc_to_mobile.'</a></p></div>';
|
||||
$header = '<style type="text/css">div.xe_mobile{opacity:0.7;margin:1em 0;padding:.5em;background:#333;border:1px solid #666;border-left:0;border-right:0}p.xe_mobile{text-align:center;margin:1em 0}a.xe_mobile{color:#ff0;font-weight:bold;font-size:24px}@media only screen and (min-width:500px){a.xe_mobile{font-size:15px}}</style>';
|
||||
$footer = '<div class="xe_mobile"><p class="xe_mobile"><a class="xe_mobile" href="'.getUrl('m', '1').'">'.$lang->msg_pc_to_mobile.'</a></p></div>';
|
||||
Context::addHtmlHeader($header);
|
||||
Context::addHtmlFooter($footer);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue