Yuki Takei 2 лет назад
Родитель
Сommit
c209de812e

+ 1 - 3
apps/app/src/components/Sidebar/Tag.tsx

@@ -81,9 +81,7 @@ const Tag: FC = () => {
 
       <h3 className="my-3">{t('popular_tags')}</h3>
 
-      <div className="text-center">
-        <TagCloudBox tags={tagCloudData} />
-      </div>
+      <TagCloudBox tags={tagCloudData} />
     </div>
   );
 

+ 1 - 1
apps/app/src/components/TagCloudBox.tsx

@@ -40,7 +40,7 @@ const TagCloudBox: FC<Props> = memo((props:(Props & typeof defaultProps)) => {
   });
 
   return (
-    <div className="grw-popular-tag-labels">
+    <div>
       {tagElements}
     </div>
   );

+ 0 - 10
apps/app/src/styles/_tag.scss

@@ -1,15 +1,5 @@
 @use '@growi/core/scss/bootstrap/init' as bs;
 
-.grw-popular-tag-labels {
-  text-align: left;
-
-  .grw-tag-label {
-    font-size: 10px;
-    font-weight: normal;
-    border-radius: bs.$border-radius;
-  }
-}
-
 #edit-tag-modal {
   .form-control {
     height: auto;