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

+ 0 - 2
apps/app/src/components/TagList.module.scss

@@ -14,7 +14,6 @@
     .grw-tag-count {
       color: var(--bs-gray-600);
       background-color: var(--grw-highlight-100);
-      border: 1px solid var(--bs-gray-300);
     }
   }
 }
@@ -23,7 +22,6 @@
     .grw-tag-count {
       color: var(--bs-gray-500);
       background-color: var(--grw-highlight-800);
-      border: 1px solid var(--bs-gray-600);
     }
   }
 }

+ 2 - 2
apps/app/src/components/TagList.tsx

@@ -42,11 +42,11 @@ const TagList: FC<TagListProps> = (props:(TagListProps & typeof defaultProps)) =
         <button
           key={tag._id}
           type="button"
-          className="list-group-item list-group-item-action d-flex"
+          className="list-group-item list-group-item-action d-flex justify-content-between"
           onClick={() => pushState(`tag:${tag.name}`)}
         >
           <div className="text-truncate grw-tag badge">{tag.name}</div>
-          <div className="ms-4 my-auto py-1 px-2 grw-tag-count badge">{tag.count}</div>
+          <div className="grw-tag-count badge">{tag.count}</div>
         </button>
       );
     });