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

Improve global styles #5194

Open
3 tasks
Amantini1997 opened this issue Oct 8, 2024 · 0 comments
Open
3 tasks

Improve global styles #5194

Amantini1997 opened this issue Oct 8, 2024 · 0 comments
Assignees

Comments

@Amantini1997
Copy link
Contributor

Description

Everytime we create a button from scratch, we need to set cursor: pointer, which should be implicit in the button component.
Also, changing the padding for something affects the box size as opposed to its content because, by default, box-sizing is set to content-box.

Suggested solution

In the global css file, set

button {
    border: none;
    cursor: pointer;
}
* {
    box-sizing: border-box;
}

Goal

  • Make css writing less tedious

Tasks

  • Apply those CSS styles to all the components
  • Make sure components UI does not change after those changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant