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

change sidbar fontsize h3 -> h4

akinori-u 2 лет назад
Родитель
Сommit
140d1a8330

+ 1 - 1
apps/app/src/components/Sidebar/Bookmarks.tsx

@@ -16,7 +16,7 @@ export const Bookmarks = () : JSX.Element => {
       {/* TODO : #139425 Match the space specification method to others */}
       {/* TODO : #139425 Match the space specification method to others */}
       {/* ref.  https://redmine.weseek.co.jp/issues/139425 */}
       {/* ref.  https://redmine.weseek.co.jp/issues/139425 */}
       <div className="grw-sidebar-content-header p-3">
       <div className="grw-sidebar-content-header p-3">
-        <h3 className="mb-0">{t('Bookmarks')}</h3>
+        <h4 className="mb-0">{t('Bookmarks')}</h4>
       </div>
       </div>
       {isGuestUser ? (
       {isGuestUser ? (
         <h4 className="ps-3">
         <h4 className="ps-3">

+ 2 - 2
apps/app/src/components/Sidebar/Custom/CustomSidebar.tsx

@@ -22,10 +22,10 @@ export const CustomSidebar = (): JSX.Element => {
     // ref.  https://redmine.weseek.co.jp/issues/139425
     // ref.  https://redmine.weseek.co.jp/issues/139425
     <div className="px-3">
     <div className="px-3">
       <div className="grw-sidebar-content-header py-3 d-flex">
       <div className="grw-sidebar-content-header py-3 d-flex">
-        <h3 className="mb-0">
+        <h4 className="mb-0">
           {t('CustomSidebar')}
           {t('CustomSidebar')}
           { !isLoading && <Link href="/Sidebar#edit" className="h6 ms-2"><span className="material-symbols-outlined">edit</span></Link> }
           { !isLoading && <Link href="/Sidebar#edit" className="h6 ms-2"><span className="material-symbols-outlined">edit</span></Link> }
-        </h3>
+        </h4>
         { !isLoading && <SidebarHeaderReloadButton onClick={() => mutate()} /> }
         { !isLoading && <SidebarHeaderReloadButton onClick={() => mutate()} /> }
       </div>
       </div>
 
 

+ 2 - 2
apps/app/src/components/Sidebar/InAppNotification/InAppNotification.tsx

@@ -19,9 +19,9 @@ export const InAppNotification = (): JSX.Element => {
     // ref.  https://redmine.weseek.co.jp/issues/139425
     // ref.  https://redmine.weseek.co.jp/issues/139425
     <div className="px-3">
     <div className="px-3">
       <div className="grw-sidebar-content-header py-3 d-flex">
       <div className="grw-sidebar-content-header py-3 d-flex">
-        <h3 className="mb-0">
+        <h4 className="mb-0">
           {t('In-App Notification')}
           {t('In-App Notification')}
-        </h3>
+        </h4>
       </div>
       </div>
 
 
       <InAppNotificationForms
       <InAppNotificationForms

+ 2 - 1
apps/app/src/components/Sidebar/PageTree/PageTree.tsx

@@ -4,6 +4,7 @@ import dynamic from 'next/dynamic';
 import { useTranslation } from 'react-i18next';
 import { useTranslation } from 'react-i18next';
 
 
 import ItemsTreeContentSkeleton from '../../ItemsTree/ItemsTreeContentSkeleton';
 import ItemsTreeContentSkeleton from '../../ItemsTree/ItemsTreeContentSkeleton';
+
 import { PageTreeHeader } from './PageTreeSubstance';
 import { PageTreeHeader } from './PageTreeSubstance';
 
 
 const PageTreeContent = dynamic(
 const PageTreeContent = dynamic(
@@ -20,7 +21,7 @@ export const PageTree = (): JSX.Element => {
     // ref.  https://redmine.weseek.co.jp/issues/139425
     // ref.  https://redmine.weseek.co.jp/issues/139425
     <div className="pt-4 pb-3 px-3">
     <div className="pt-4 pb-3 px-3">
       <div className="grw-sidebar-content-header d-flex">
       <div className="grw-sidebar-content-header d-flex">
-        <h3 className="mb-0">{t('Page Tree')}</h3>
+        <h4 className="mb-0">{t('Page Tree')}</h4>
         <Suspense>
         <Suspense>
           <PageTreeHeader />
           <PageTreeHeader />
         </Suspense>
         </Suspense>

+ 1 - 1
apps/app/src/components/Sidebar/RecentChanges/RecentChanges.tsx

@@ -22,7 +22,7 @@ export const RecentChanges = (): JSX.Element => {
     // ref.  https://redmine.weseek.co.jp/issues/139425
     // ref.  https://redmine.weseek.co.jp/issues/139425
     <div className="px-3" data-testid="grw-recent-changes">
     <div className="px-3" data-testid="grw-recent-changes">
       <div className="grw-sidebar-content-header py-3 d-flex">
       <div className="grw-sidebar-content-header py-3 d-flex">
-        <h3 className="mb-0 text-nowrap">{t('Recent Changes')}</h3>
+        <h4 className="mb-0 text-nowrap">{t('Recent Changes')}</h4>
         <Suspense>
         <Suspense>
           <RecentChangesHeader isSmall={isSmall} onSizeChange={setIsSmall} />
           <RecentChangesHeader isSmall={isSmall} onSizeChange={setIsSmall} />
         </Suspense>
         </Suspense>

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

@@ -1,9 +1,10 @@
-import React, { FC, useState, useCallback } from 'react';
+import type { FC } from 'react';
+import React, { useState, useCallback } from 'react';
 
 
 import { useTranslation } from 'next-i18next';
 import { useTranslation } from 'next-i18next';
 import { useRouter } from 'next/router';
 import { useRouter } from 'next/router';
 
 
-import { IDataTagCount } from '~/interfaces/tag';
+import type { IDataTagCount } from '~/interfaces/tag';
 import { useSWRxTagsList } from '~/stores/tag';
 import { useSWRxTagsList } from '~/stores/tag';
 
 
 import TagCloudBox from '../TagCloudBox';
 import TagCloudBox from '../TagCloudBox';
@@ -48,7 +49,7 @@ const Tag: FC = () => {
     // ref.  https://redmine.weseek.co.jp/issues/139425
     // ref.  https://redmine.weseek.co.jp/issues/139425
     <div className="container-lg px-4 mb-5 pb-5" data-testid="grw-sidebar-content-tags">
     <div className="container-lg px-4 mb-5 pb-5" data-testid="grw-sidebar-content-tags">
       <div className="grw-sidebar-content-header py-3 d-flex">
       <div className="grw-sidebar-content-header py-3 d-flex">
-        <h3 className="mb-0">{t('Tags')}</h3>
+        <h4 className="mb-0">{t('Tags')}</h4>
         <SidebarHeaderReloadButton onClick={() => onReload()} />
         <SidebarHeaderReloadButton onClick={() => onReload()} />
       </div>
       </div>