fix(ui): adjust Input component height for placeholder-only inputs#1
fix(ui): adjust Input component height for placeholder-only inputs#1JExcellence merged 1 commit intomainfrom
Conversation
add ./idea to .gitignore
PR Compliance Guide 🔍(Compliance updated until commit 52189f8)Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label Previous compliance checksCompliance check up to commit 52189f8
|
||||||||||||||||||||||||||||||||||||||||||||||
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
User description
fixed input component height especially when placeholder and label being set.
PR Type
Bug fix
Description
Adjust Input component height for placeholder-only inputs
Reduce small size input height when placeholder is present
Fix floating label positioning in small size variant
Update dev component test indentation for consistency
Diagram Walkthrough
File Walkthrough
Input.module.scss
Refactor Input height and label positioning logicpackages/core/src/components/Input.module.scss
&:has(.placeholder):has(.floating)to single&:has(.placeholder)var(--static-space-48)whenplaceholder is present
(
var(--static-space-40))value to direct
var(--static-space-4)ComponentsCheckPage.tsx
Standardize Input test component indentationapps/dev/src/components/ComponentsCheckPage.tsx