Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to apply some style properties to Yorkie-UI component #105

Open
devleejb opened this issue Mar 27, 2024 · 3 comments
Open

Unable to apply some style properties to Yorkie-UI component #105

devleejb opened this issue Mar 27, 2024 · 3 comments
Labels
bug 🐞 Something isn't working

Comments

@devleejb
Copy link
Member

What happened:
After applying background color and border to the Yorkie-UI component, the styles are not being applied as expected. The class is being applied correctly, but upon inspecting the CSS, it seems that there is no corresponding CSS for the class.

What you expected to happen:
Expected the background color and border to be applied to the Yorkie-UI component.

How to reproduce it (as minimally and precisely as possible):

  1. Apply a background color and border to a Yorkie-UI component.
  2. Verify that the styles are not being applied correctly.

Anything else we need to know?:

image

Environment:

  • Operating system: ALL
  • Browser and version: ALL
  • Yorkie version (use yorkie version): ALL
@devleejb devleejb added the bug 🐞 Something isn't working label Mar 27, 2024
@vitran12
Copy link
Contributor

vitran12 commented Mar 28, 2024

hi @devleejb

Because CSS property names will be abbreviated, you can refer to this section: https://yorkie.dev/yorkie-ui/?path=/docs/config-props--docs#short-props

However, for the border, you must declare all its individual properties in full. I will check it color now.

<Box maxW="sm" borderWidth="1px" borderRadius="lg" borderColor='border.default'>
Hello
</Box>

Bugs:

  • Color
  • Padding
  • Grid

@devleejb
Copy link
Member Author

Hi, @vitran12.

Padding isn't applied too.

image

@devleejb devleejb changed the title Unable to apply background color and border to Yorkie-UI component Unable to apply some style properties to Yorkie-UI component Mar 28, 2024
@devleejb
Copy link
Member Author

In grid, 2 columns don't work.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants