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

[Bug fix] Fix the issue "Can't Override Input Size Attributes" #2652

Merged
merged 4 commits into from
Dec 14, 2023

Conversation

souyang
Copy link
Contributor

@souyang souyang commented Dec 14, 2023

Fix the bug #2651

Steps to reproduce:

  1. Checkout the branch
  2. Run npm install && npm run build && npm run playground
  3. In src/playground/components/Component.astro, update content to
<div>
  <input class="input input-sm input-primary m-10"></input>
</div>

Then update content to

<div>
  <input class="input input-sm input-primary pl-8 m-10"></input>
</div>

Expected result: the left padding should be updated to 8 px
Actual result: the left padding is unchanged.

Testing Steps:

  1. Run npm install && npm run build && npm playground
  2. In src/playground/components/Component.astro, update content to
<div>
  <input class="input input-sm input-primary m-10"></input>
</div>

Then update content to

<div>
  <input class="input input-sm input-primary pl-8 m-10"></input>
</div>

Expected result: the left padding should be updated to 8 px
Actula result: the left padding was updated to 8 px

@souyang souyang changed the title [Bug fix] Fix the issue [Bug fix] Fix the issue "Can't Override Input Size Attributes" Dec 14, 2023
src/utilities/unstyled/input.css Outdated Show resolved Hide resolved
@saadeghi saadeghi merged commit fa54f68 into saadeghi:master Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants