From 60adebfb49b169b3ae6c22475418d4fd0af42d7d Mon Sep 17 00:00:00 2001 From: mebtte Date: Tue, 22 Aug 2023 23:21:13 +0800 Subject: [PATCH] improve style of tab list --- apps/pwa/src/components/tab_list.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/pwa/src/components/tab_list.tsx b/apps/pwa/src/components/tab_list.tsx index 32d4fc1a..4d360c93 100644 --- a/apps/pwa/src/components/tab_list.tsx +++ b/apps/pwa/src/components/tab_list.tsx @@ -1,5 +1,6 @@ import { HtmlHTMLAttributes } from 'react'; import styled, { css } from 'styled-components'; +import capitalize from '@/style/capitalize'; import { CSSVariable } from '../global_style'; const Style = styled.div` @@ -19,6 +20,7 @@ const Tab = styled.div<{ active: boolean }>` font-weight: bold; font-size: 14px; transition: inherit; + ${capitalize} } > .indicator {