Fossil SCM

Disentangled an incorrect intermingling of the "adunit" feature and the "content" div the begins the body area of each page.

wyoung 2020-11-05 22:32 default-css-cleanups
Commit e7fe61c13d4e562c665e67b3545bf186683a792801fd3ba0011d9835b865dbc1
1 file changed +7 -8
+7 -8
--- src/style.c
+++ src/style.c
@@ -864,18 +864,17 @@
864864
if( (mAdFlags & ADUNIT_RIGHT_OK)!=0 ){
865865
@ <div class="content adunit_right_container">
866866
@ <div class="adunit_right">
867867
cgi_append_content(zAd, -1);
868868
@ </div>
869
- }else{
870
- if( zAd ){
871
- @ <div class="adunit_banner">
872
- cgi_append_content(zAd, -1);
873
- @ </div>
874
- }
875
- @ <div class="content"><span id="debugMsg"></span>
876
- }
869
+ }else if( zAd ){
870
+ @ <div class="adunit_banner">
871
+ cgi_append_content(zAd, -1);
872
+ @ </div>
873
+ }
874
+
875
+ @ <div class="content"><span id="debugMsg"></span>
877876
cgi_destination(CGI_BODY);
878877
879878
if( sideboxUsed ){
880879
/* Put the footer at the bottom of the page.
881880
** the additional clear/both is needed to extend the content
882881
--- src/style.c
+++ src/style.c
@@ -864,18 +864,17 @@
864 if( (mAdFlags & ADUNIT_RIGHT_OK)!=0 ){
865 @ <div class="content adunit_right_container">
866 @ <div class="adunit_right">
867 cgi_append_content(zAd, -1);
868 @ </div>
869 }else{
870 if( zAd ){
871 @ <div class="adunit_banner">
872 cgi_append_content(zAd, -1);
873 @ </div>
874 }
875 @ <div class="content"><span id="debugMsg"></span>
876 }
877 cgi_destination(CGI_BODY);
878
879 if( sideboxUsed ){
880 /* Put the footer at the bottom of the page.
881 ** the additional clear/both is needed to extend the content
882
--- src/style.c
+++ src/style.c
@@ -864,18 +864,17 @@
864 if( (mAdFlags & ADUNIT_RIGHT_OK)!=0 ){
865 @ <div class="content adunit_right_container">
866 @ <div class="adunit_right">
867 cgi_append_content(zAd, -1);
868 @ </div>
869 }else if( zAd ){
870 @ <div class="adunit_banner">
871 cgi_append_content(zAd, -1);
872 @ </div>
873 }
874
875 @ <div class="content"><span id="debugMsg"></span>
 
876 cgi_destination(CGI_BODY);
877
878 if( sideboxUsed ){
879 /* Put the footer at the bottom of the page.
880 ** the additional clear/both is needed to extend the content
881

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button