fixed scrolling mycourses page, by replacing overflow:auto with hidden.
authorgreg gay <ggay@ocad.ca>
Wed, 5 May 2010 20:17:48 +0000 (20:17 -0000)
committergreg gay <ggay@ocad.ca>
Wed, 5 May 2010 20:17:48 +0000 (20:17 -0000)
docs/themes/default/include/header.tmpl.php
docs/themes/default/styles.css
docs/themes/default/users/index.tmpl.php

index 17ea9a7..25ded48 100644 (file)
@@ -231,14 +231,12 @@ global $system_courses, $_custom_css, $db;
 <div id="contentwrapper" 
                <?php if ($_SESSION["prefs"]["PREF_SHOW_BREAD_CRUMBS"] == 0):
                        $style.='margin-top:-2em;';
-               endif; ?>
-               <?php
-                echo 'style="'.$style.'"';
-               ?>>
+                       echo 'style="'.$style.'"';
+               endif; ?>>
        <?php if (isset($this->course_id) && $this->course_id > 0 && $system_courses[$this->course_id]['side_menu']): ?>
                <div id="leftcolumn">
-            <a name="menu"></a>
-            <div id="side-menu">
+                 <a name="menu"></a>
+                    <div id="side-menu">
                        <?php require(AT_INCLUDE_PATH.'side_menu.inc.php'); ?>
                    </div>
                </div>
index 2fd2041..9d21e17 100644 (file)
@@ -1439,7 +1439,7 @@ div.social-wrapper{
 }
 #contentcolumn {
        padding-right: 5px;
-       overflow: auto;
+       overflow:hidden;
 }
 
 #leftcolumn{
@@ -2179,7 +2179,7 @@ table.etabbed-table       {
 }
 #my_courses_container{
          width:58%; 
-         margin:auto;
+         margin-left:1em;
          border:none;
          float:left;
          border-radius: .5em .5em .5em .5em;
@@ -2188,8 +2188,8 @@ table.etabbed-table       {
         box-shadow: .2em .2em  .2em #999999;
 }
 .shortcut_icon{
-border:0;
-vertical-align:middle;
+       border:0;
+       vertical-align:middle;
 }
 ul#content-tool-links {
        list-style: none outside none;
index dab9cf4..9de606b 100644 (file)
     <?php }else{ ?>
        <a href="<?php echo $_SERVER['PHP_SELF']; ?>?p=all"><?php echo _AT('show_all'); ?></a>
     <?php } ?>
-</div>
+<br /><br />
+</div>  
+
 <?php require(AT_INCLUDE_PATH.'footer.inc.php'); ?>
\ No newline at end of file