Skip to content

Commit 57f8a07

Browse files
committed
updated font size
1 parent 81dac64 commit 57f8a07

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

cypress/integration/pages/tag-creator.spec.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe('Tag Generator Page (Tag Creator)', () => {
4444
.type('{downarrow}{enter}');
4545
});
4646
cy.get('#submitButton').click();
47-
cy.get('h6').contains(AFFILIATED_ORGANIZATION);
47+
cy.get('p').contains(AFFILIATED_ORGANIZATION);
4848
cy.get('[data-cy=grid-repository]').within(() => {
4949
cy.get('#repository-url', { force: true })
5050
.click()
@@ -84,7 +84,7 @@ describe('Tag Generator Page (Tag Creator)', () => {
8484
.type('{downarrow}{enter}');
8585
});
8686
cy.get('#submitButton').click();
87-
cy.get('h6').contains(AFFILIATED_ORGANIZATION);
87+
cy.get('p').contains(AFFILIATED_ORGANIZATION);
8888
cy.get('[data-cy=grid-repository]').within(() => {
8989
cy.get('#repository-url', { force: true })
9090
.click()
@@ -107,7 +107,7 @@ describe('Tag Generator Page (Tag Creator)', () => {
107107
.type('{downarrow}{enter}');
108108
});
109109
cy.get('#submitButton').click();
110-
cy.get('h6').contains(AFFILIATED_ORGANIZATION);
110+
cy.get('p').contains(AFFILIATED_ORGANIZATION);
111111
cy.get('[data-cy=grid-repository]').within(() => {
112112
cy.get('#repository-url', { force: true })
113113
.click()
@@ -128,7 +128,7 @@ describe('Tag Generator Page (Tag Creator)', () => {
128128
it('loads correct 7 tags and new tags for `civictechindex/CTI-website-frontend` - unaffiliated', () => {
129129
cy.get('[data-cy=radio-no]').click();
130130
cy.get('#submitButton').click();
131-
cy.get('h6').contains('Unaffliated');
131+
cy.get('p').contains('Unaffiliated');
132132
cy.get('[data-cy=grid-repository]').within(() => {
133133
cy.get('#repository-url', { force: true })
134134
.click()
@@ -169,7 +169,7 @@ describe('Tag Generator Page (Tag Creator)', () => {
169169
it('change the org form unaffiliated for `civictechindex/CTI-website-frontend` to affiliated', () => {
170170
cy.get('[data-cy=radio-no]').click();
171171
cy.get('#submitButton').click();
172-
cy.get('h6').contains('Unaffliated');
172+
cy.get('p').contains('Unaffiliated');
173173
cy.get('#change-org').click();
174174
cy.contains('Are you affiliated with an organization?');
175175
cy.get('[data-cy=radio-yes]');
@@ -182,6 +182,6 @@ describe('Tag Generator Page (Tag Creator)', () => {
182182
.type('{downarrow}{enter}');
183183
});
184184
cy.get('#submitButton').click();
185-
cy.get('h6').contains(CHANGE_AFFILIATED_ORGANIZATION);
185+
cy.get('p').contains(CHANGE_AFFILIATED_ORGANIZATION);
186186
});
187187
});

src/pages/TagCreator/Organization.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,18 +133,18 @@ export const OrgNameSection = ({ setDisplayState, orgName, linkStyles }) => {
133133
className={classes.orgNameSectionGrid}
134134
>
135135
<Grid item xs={12} sm={3} className={classes.gridStyle}>
136-
<Typography variant='body1'>Affliated Organization:</Typography>
136+
<Typography variant='body1'>Affiliated Organization:</Typography>
137137
</Grid>
138138
{orgName ? (
139139
<Grid item xs={10} sm={7}>
140-
<Typography variant='h6' className={classes.typoStyle}>
140+
<Typography variant='body1' className={classes.typoStyle}>
141141
{orgName}
142142
</Typography>
143143
</Grid>
144144
) : (
145145
<Grid item xs={7} style={{ paddingRight: '50px' }}>
146-
<Typography variant='h6' className={classes.typoStyle}>
147-
Unaffliated
146+
<Typography variant='body1' className={classes.typoStyle}>
147+
Unaffiliated
148148
</Typography>
149149
</Grid>
150150
)}

src/pages/TagCreator/ProjectRepository.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const ProjectRepositorySection = ({
4141
</Grid>
4242
<Grid item xs={10} sm={7} data-cy='grid-repository-url'>
4343
<Link
44-
variant='h6'
44+
variant='body1'
4545
href={repositoryUrl}
4646
className={classes.typoStyle}
4747
>
@@ -52,7 +52,7 @@ export const ProjectRepositorySection = ({
5252
<Link
5353
id='change-url'
5454
component='button'
55-
variant='h6'
55+
variant='body1'
5656
onClick={() => setDisplayState('ProjectUrl')}
5757
underline='always'
5858
style={linkStyles}

0 commit comments

Comments
 (0)