Ignore:
Timestamp:
4 May 2012, 11:16:10 (12 years ago)
Author:
Henrik Bettermann
Message:

Remove viewport meta tag. This destroys the layout on most mobile browsers. I think it's better to concentrate on applets rather than tweaking the layout in browsers.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/browser
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/static/mobile.css

    r7493 r8339  
    11.container {
    2   width: 300px;
     2  width:900px;
    33}
    44
    5 body {
    6   padding-top: 100px;
     5.student-info-bar{
     6  width: 900px;
    77}
    8 
    9 select {
    10   width: 50px;
    11 }
    12 
    13 .dataTables_length {
    14   float: left;
    15   width: 50%;
    16 }
    17 
    18 .dataTables_filter {
    19   float: right;
    20   text-align: right;
    21   width: 50%;
    22 }
    23 
    24 .topbar h3 a, .topbar .brand  {
    25   margin-left: -25px;
    26   padding-bottom: 5px;
    27   padding-left: 20px;
    28   padding-right: 20px;
    29   padding-top: 2px;
    30 }
    31 
    32 input, textarea,
    33 textarea.span9 {
    34   width: 70%;
    35 }
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/studentsitelayout.pt

    r8278 r8339  
    88    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    99    <meta name="robots" content="index, follow" />
    10     <meta name="viewport" content="width=320, initial-scale=1, maximum-scale=1"/>
    1110    <link rel="stylesheet" media="only screen and (max-device-width: 480px)"
    1211        tal:attributes="href python: view.url(layout.site, '@@/waeup.kofa.browser/mobile.css')"
Note: See TracChangeset for help on using the changeset viewer.