diff --git a/codepot/src/codepot/views/project_home.php b/codepot/src/codepot/views/project_home.php index abd171a7..479f9466 100644 --- a/codepot/src/codepot/views/project_home.php +++ b/codepot/src/codepot/views/project_home.php @@ -73,6 +73,7 @@ $this->load->view (
diff --git a/codepot/src/codepot/views/wiki_show.php b/codepot/src/codepot/views/wiki_show.php index 125cedc8..083a971a 100644 --- a/codepot/src/codepot/views/wiki_show.php +++ b/codepot/src/codepot/views/wiki_show.php @@ -73,6 +73,7 @@ $this->load->view (
diff --git a/codepot/src/css/code.css b/codepot/src/css/code.css index 6fdbba76..c1951999 100644 --- a/codepot/src/css/code.css +++ b/codepot/src/css/code.css @@ -56,8 +56,7 @@ } #code_file_mainarea_result_pre { - /* make it the same as font-size of info .title below */ - padding-top: 0.8em; + line-height: 1.4em; } #code_file_mainarea_result_info { @@ -101,8 +100,7 @@ } #code_blame_mainarea_result_pre { - /* make it the same as font-size of info .title below */ - padding-top: 0.8em; + line-height: 1.4em; } #code_blame_mainarea_result_info { @@ -336,6 +334,7 @@ //padding-left: 10px; //background: #F8F8FA; padding-left: 1px; + line-height: 1.4em; } #code_diff_mainarea_result_fulldiffnew { @@ -343,6 +342,7 @@ //padding-left: 10px; background: #FEF8F8; padding-left: 1px; + line-height: 1.4em; } #code_diff_mainarea_result_fullview .navigator { diff --git a/codepot/src/css/common.css b/codepot/src/css/common.css index 9109261c..ddde706b 100644 --- a/codepot/src/css/common.css +++ b/codepot/src/css/common.css @@ -274,9 +274,12 @@ body { .content .mainarea pre.wiki { white-space: pre-wrap; padding: 1em; - line-height: 1.4em; - //font-size: 1.1em; + line-height: 1.2em; font-family: consolas, "Andale Mono", monospace; + + tab-size: 5; + -moz-tab-size: 5; + -o-tab-size: 5; } .content .mainarea tt { @@ -370,9 +373,8 @@ body { /*border: 1px solid #ccc;*/ background-color: #F8F8FA; border: none; - //font-size: 1.1em; font-family: consolas, "Andale Mono", monospace; - line-height: 1.4em; + line-height: 1.2em; padding: 1em; tab-size: 5;