Repository navigation
Conversation
huyenltnguyen
force-pushed
the
refactor/remove-bootstrap-stylesheet
branch
from
June 5, 2024 16:11
20bd9cd to
0ef31cb
Compare
huyenltnguyen
commented
Jun 5, 2024
Member
Member
Author
huyenltnguyen
commented
Jun 6, 2024
Sembauke
reviewed
Jun 6, 2024
Sembauke
left a comment
Member
There was a problem hiding this comment.
Some of the margins are a little off in the footer could you take a look at that?
huyenltnguyen
force-pushed
the
refactor/remove-bootstrap-stylesheet
branch
from
June 7, 2024 05:33
e61b4bd to
5b72b4c
Compare
huyenltnguyen
commented
Jun 7, 2024
Member
Author
|
@SocketSecurity ignore-all |
Member
…nto refactor/remove-bootstrap-stylesheet
huyenltnguyen
commented
Jun 10, 2024
Member
Author
|
Added the blocked label as a reminder to keep this PR open and only merge after the next prod deployment is done (I would like to keep the changes in |
ahmaxed
approved these changes
Jun 12, 2024
4 tasks done
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Checklist:
mainbranch of freeCodeCamp.This PR:
bootstrap.min.cssstylesheet from the codebaseI'll comment on the code to explain each change, but the high-level approach is:
bootstrap.min.cssout, but we are replacing it with thebase.cssstylesheet exported from@freecodecamp/ui.base.cssand decided to include the Tailwind preflight in the file, which helps remove the inconsistencies in browser default styles. This change tobase.cssrequires a@freecodecamp/uimajor version bump./clientthat have class names match those classes. I then checked the files and decided either to remove the classes or bring the classes/styles frombootstrap.csstoglobal.css. I moved the CSS styles to an existing/custom class if the Bootstrap style is simple or used by a single component; otherwise I copy-pasted the styles from Bootstrap and would have another cleanup round (some require a considerable amount of code refactoring, I so would rather split that work to a separate PR).Note for reviewers: Be sure to run
pnpm iwhen testing the PR locally.Testing
Places I've checked (this is where I'm not methodical, I just wrote down a list of areas popped up in my head and checked them one by one)