Skip to content

Commit

Permalink
style: modify gpu unit (labring#3758)
Browse files Browse the repository at this point in the history
  • Loading branch information
xudaotutou committed Aug 24, 2023
1 parent 87b22e9 commit cf77d1e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"Get Code": "verification",
"Stripe Success": "pay with Stripe successfully",
"Stripe Cancel": "cancel to pay with Stripe",
"GPU Unit": "Card",
"orders": {
"list": "Order List",
"invoiceAmount": "Invoice Amount",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"Get Code": "获取验证码",
"Stripe Success": "Stripe 支付完成",
"Stripe Cancel": "Stripe 支付取消",
"GPU Unit": "",
"orders": {
"list": "订单列表",
"invoiceAmount": "发票金额",
Expand Down
6 changes: 3 additions & 3 deletions frontend/providers/costcenter/src/pages/valuation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ function Valuation() {
<Text fontSize={'16px'}>GPU</Text>
</Flex>
<Flex display={'flex'} justifyContent="center" alignContent={'center'}>
<Text fontSize="28px" fontStyle="normal" fontWeight={'600'}>{` GPU / ${t(
'Hour'
)}`}</Text>
<Text fontSize="28px" fontStyle="normal" fontWeight={'600'}>{` ${t(
'GPU Unit'
)} / ${t('Hour')}`}</Text>
</Flex>
<Stack w="100%" mt="24px" overflow={'auto'}>
{gpuData.map((item) => (
Expand Down
9 changes: 6 additions & 3 deletions frontend/providers/template/src/pages/develop/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ const Develop = () => {
borderRadius={'8px'}
overflowY={'hidden'}
overflowX={'scroll'}
flex={1}>
flex={1}
>
{/* left */}
<Flex flexDirection={'column'} flex={'0 1 500px'} borderRight={'1px solid #EFF0F1'}>
<Flex
Expand All @@ -134,7 +135,8 @@ const Develop = () => {
alignItems={'center'}
backgroundColor={'#F8FAFB'}
px="36px"
borderRadius={'8px 8px 0px 0px '}>
borderRadius={'8px 8px 0px 0px '}
>
<MyIcon name="dev" color={'#24282C'} w={'24px'} h={'24px'}></MyIcon>
<Text fontWeight={'500'} fontSize={'16px'} color={'#24282C'} ml="8px">
{t('develop.Development')}
Expand Down Expand Up @@ -162,7 +164,8 @@ const Develop = () => {
alignItems={'center'}
backgroundColor={'#F8FAFB'}
pl="42px"
borderRadius={'8px 8px 0px 0px '}>
borderRadius={'8px 8px 0px 0px '}
>
<MyIcon name="eyeShow" color={'#24282C'} w={'24px'} h={'24px'}></MyIcon>
<Text fontWeight={'500'} fontSize={'16px'} color={'#24282C'} ml="8px">
{t('develop.Preview')}
Expand Down

0 comments on commit cf77d1e

Please sign in to comment.