diff --git a/client/src/templates/Challenges/codeally/codeally.css b/client/src/templates/Challenges/codeally/codeally.css index 87db2551216..37cebb6822b 100644 --- a/client/src/templates/Challenges/codeally/codeally.css +++ b/client/src/templates/Challenges/codeally/codeally.css @@ -2,14 +2,6 @@ font-family: 'Lato', sans-serif; } -.ca-btn-padding { - padding: 0 15px; -} - -.ca-btn-padding button { +button[aria-described-by='codeally-cookie-warning'] { font-size: 1.1rem; } - -.ca-btn-margin { - margin-bottom: 5px; -} diff --git a/client/src/templates/Challenges/codeally/show.tsx b/client/src/templates/Challenges/codeally/show.tsx index 996045847d9..ffc594f310e 100644 --- a/client/src/templates/Challenges/codeally/show.tsx +++ b/client/src/templates/Challenges/codeally/show.tsx @@ -237,7 +237,6 @@ class ShowCodeAlly extends Component { className='codeally-frame' data-cy='codeally-frame' name={`codeAlly${Date.now()}`} - // eslint-disable-next-line @typescript-eslint/restrict-template-expressions sandbox='allow-modals allow-forms allow-popups allow-scripts allow-same-origin' src={`https://codeally.io/embed/?repoUrl=${url}&${goBackTo}&${envVariables}&${tempToken}&${date}`} title='Editor' @@ -304,29 +303,20 @@ class ShowCodeAlly extends Component { )} - + {challengeType === challengeTypes.codeAllyCert + ? t('buttons.click-start-project') + : t('buttons.click-start-course')} + {isSignedIn && challengeType === challengeTypes.codeAllyCert && ( <>