Browse Source

[edit] style

wenliming 2 years ago
parent
commit
e943dd40a9
1 changed files with 2 additions and 4 deletions
  1. 2 4
      src/logic/content/twitter.js

+ 2 - 4
src/logic/content/twitter.js

@@ -2035,6 +2035,7 @@ const setTabContentStyle = (params) => {
             tweetTabContent.style.visibility = 'hidden';
             tweetTabContent.style.visibility = 'hidden';
             tweetTabContent.style.height = '0px';
             tweetTabContent.style.height = '0px';
             tweetTabContent.style.overflow = 'hidden';
             tweetTabContent.style.overflow = 'hidden';
+            tweetTabContent.style.margin = '0';
         }
         }
     }
     }
 
 
@@ -2103,7 +2104,7 @@ const setGroupTabStatus = () => {
             addGroupTab();
             addGroupTab();
         }, 2000)
         }, 2000)
     }
     }
-    
+
     clearInterval(fixProfileTabAutoTimer);
     clearInterval(fixProfileTabAutoTimer);
     fixProfileTabAutoSwitch();
     fixProfileTabAutoSwitch();
 };
 };
@@ -2180,9 +2181,6 @@ export const setGroupInfo = (params = {}) => {
     if (!params.nftGroupId) {
     if (!params.nftGroupId) {
         let { pathname = '' } = window.location;
         let { pathname = '' } = window.location;
         if (pathname == "/compose/tweet") {
         if (pathname == "/compose/tweet") {
-            if (groupTab) {
-                groupTab.click();
-            }
             return;
             return;
         };
         };
         if (groupTab) {
         if (groupTab) {