Просмотр исходного кода

Change initial offset from 1 -> 0

Shun Miyazawa 2 лет назад
Родитель
Сommit
82a98778ea

+ 1 - 1
apps/app/src/components/PageSideContents/PageAccessoriesControl.tsx

@@ -34,7 +34,7 @@ export const PageAccessoriesControl = memo((props: Props): JSX.Element => {
         {label}
         {/* Do not display CountBadge if '/trash/*': https://github.com/weseek/growi/pull/7600 */}
         { count != null
-          ? <CountBadge count={count} offset={1} />
+          ? <CountBadge count={count} offset={0} />
           : <div className="px-2"></div>}
       </span>
     </button>