Skip to content

Commit

Permalink
fix(protocol-designer): add align-items to title part
Browse files Browse the repository at this point in the history
add align-items to title part

close RQA-3764
  • Loading branch information
koji committed Dec 20, 2024
1 parent 04dea6c commit ded19af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { useTranslation } from 'react-i18next'

import {
ALIGN_CENTER,
Btn,
COLORS,
DIRECTION_COLUMN,
Expand Down Expand Up @@ -77,7 +78,7 @@ export function InstrumentsInfo({

return (
<Flex flexDirection={DIRECTION_COLUMN} gridGap={SPACING.spacing12}>
<Flex justifyContent={JUSTIFY_SPACE_BETWEEN}>
<Flex justifyContent={JUSTIFY_SPACE_BETWEEN} alignItems={ALIGN_CENTER}>
<StyledText desktopStyle="headingSmallBold">
{t('instruments')}
</StyledText>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { useTranslation } from 'react-i18next'
import {
ALIGN_CENTER,
Btn,
COLORS,
DIRECTION_COLUMN,
Expand Down Expand Up @@ -36,7 +37,7 @@ export function ProtocolMetadata({

return (
<Flex flexDirection={DIRECTION_COLUMN} gridGap={SPACING.spacing12}>
<Flex justifyContent={JUSTIFY_SPACE_BETWEEN}>
<Flex justifyContent={JUSTIFY_SPACE_BETWEEN} alignItems={ALIGN_CENTER}>
<StyledText desktopStyle="headingSmallBold">
{t('protocol_metadata')}
</StyledText>
Expand Down

0 comments on commit ded19af

Please sign in to comment.