Skip to content

border class doesn't work in the ui-component unless it's border-3 #49696

Closed as not planned

Description

@Sboonny

Note: This is work on progress, just need to investigate more before opening new PR.

While working on the panel component #49398, I needed to add border but whatever I do the border wasn't added to the devtools.

With more investigation, that issue do exist in other components like the alert https://github.com/freeCodeCamp/freeCodeCamp/tree/main/tools/ui-components/src/alert

I am thinking that there are classes that we have, they don't get applied, although they do exist in the tailwinds docs.

I need to investigate the classes in the component and see which aren't applied and choose to apply them or delete them

Activity

  1. added
    status: discussing
    scope: tools/scripts
    on Mar 13, 2023
  2. Sboonny commented on Mar 14, 2023

    @Sboonny
    MemberAuthor

    as found out in this PR, some classes, text-color, do apply in the devtools, but tailwind don't provide their properties. #46758 (comment)

  3. self-assigned this
    on Mar 15, 2023
  4. Sboonny commented on Mar 18, 2023

    @Sboonny
    MemberAuthor

    I have ran another repo, and install tailwind.

    It works, the issue is that I forgot about us gitignore ./dist/output.css file 🤦

    This is https://github.com/freeCodeCamp/freeCodeCamp/labels/invalid issue

  5. added and removed
    status: discussing
    on Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

scope: tools/scripts

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions