diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js
index fc633c975..355e4a94c 100644
--- a/public/react/src/modules/tpm/NewHeader.js
+++ b/public/react/src/modules/tpm/NewHeader.js
@@ -1283,7 +1283,7 @@ submittojoinclass=(value)=>{
-
+
-
+ {coursestypes===true&&this.props.user&&this.props.user.main_site===true?"":
{coursestypes===true?"":-
加入翻转课堂
@@ -1356,7 +1356,7 @@ submittojoinclass=(value)=>{
:""}
-
+ :""}
diff --git a/public/react/src/modules/tpm/TPMIndex.css b/public/react/src/modules/tpm/TPMIndex.css
index 740ae8a20..10eb9dc11 100644
--- a/public/react/src/modules/tpm/TPMIndex.css
+++ b/public/react/src/modules/tpm/TPMIndex.css
@@ -218,4 +218,8 @@ body>.-task-title {
float: left;
min-width: 40px;
height:40px;
+}
+
+.headwith100b{
+ width: 100%;
}
\ No newline at end of file