Skip to content

Commit

Permalink
[ADM-774] style: enhance style for img and note text (#1251)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxuebing authored and TingyuDong committed Mar 25, 2024
1 parent f6173e5 commit 332c9c2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import {
StyledNote,
StyledNoteTitle,
StyledNoteText,
StyledImg,
StyledSelectedImg,
StyledJiraImg,
StyledButtonGroup,
StyledStepButton,
StyledStepLabel,
Expand Down Expand Up @@ -39,8 +40,8 @@ export const ReworkDialog = (props: { isShowDialog: boolean; hiddenDialog: () =>
const renderContent = (selectedImg: string, jiraImg: string, explanationText: string, noteText: string) => {
return (
<StyledStepOfRework>
<StyledImg src={selectedImg} alt='selected' />
<StyledImg src={jiraImg} alt='jira' />
<StyledSelectedImg src={selectedImg} alt='selected' />
<StyledJiraImg src={jiraImg} alt='jira' />
<StyledNote>
<StyledNoteTitle>Explanation: </StyledNoteTitle>
<StyledNoteText>{explanationText}</StyledNoteText>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,15 @@ export const StyledStepOfRework = styled('div')({
margin: '1rem auto',
});

export const StyledImg = styled('img')({
export const StyledSelectedImg = styled('img')({
width: '100%',
height: '6rem',
margin: '0.5rem 0',
});

export const StyledJiraImg = styled('img')({
width: '100%',
height: '13.5rem',
margin: '0.5rem 0',
});

Expand All @@ -80,6 +87,7 @@ export const StyledNoteText = styled('p')({
fontWeight: '400',
color: theme.main.note,
lineHeight: '1.25rem',
opacity: '0.8',
});

export const StyledButtonGroup = styled('div')({
Expand Down

0 comments on commit 332c9c2

Please sign in to comment.