Project-Reclass / toynet-react

The frontend service for ToyNet emulator and learning platform.
https://toynet.projectreclass.org
GNU General Public License v3.0
8 stars 20 forks source link

No inline style #336

Closed 4-Leafs-Code closed 1 year ago

4-Leafs-Code commented 1 year ago

Updated 3 Files to Not use Inline Style

Update src/Curriculum/Survey/Survey.tsx to not use style #200 Update src/Curriculum/Quiz/Quiz.tsx to not use style #199

style={{ margin: '5px' }} to margin='5px'

Update src/common/components/LoadingSpinner.tsx to not use style #198

<div style={{ position: 'relative', height: '100%' }}> to

update Snapshot

npm run check-types pass

npm run style:check ✖ 2 problems (0 errors, 2 warnings)

npm run style:fix pass

npm run test Test Suites: 30 passed, 30 total Tests: 110 passed, 110 total Snapshots: 19 passed, 19 total Time: 24.734 s Ran all test suites.

Commited and made a Pull Request Now let's cross our fingers!!!! and Happy Thankgiving!!!

Resolves Issue: closes #198. Resolves Issue: closes #199. Resolves Issue: closes #200.