Open zzcr opened 17 hours ago
The changes involve the addition of new CSS rules for input elements in the index.less
file, specifically for small and mini input sizes. A new variable for the font size of small input elements is introduced in the vars.less
file. These modifications aim to enhance the styling of input components by defining specific font sizes and maintaining existing suffix styles.
File | Change Summary |
---|---|
packages/theme/src/input/index.less | Added styles for input-prefix-cls for &-small and &-mini sizes, including a new inner class for font size. Retained existing suffix class with adjusted top properties. |
packages/theme/src/input/vars.less | Introduced a new CSS variable --tv-Input-small-font-size referencing --tv-font-size-sm . |
vars.less
related to the --tv-Input-small-font-size
variable.🐰 In fields of code, we hop and play,
With styles for inputs, brightening the day.
Small and mini, now dressed just right,
Font sizes dancing, a delightful sight!
Let's celebrate changes, both big and small,
For in this theme, we cherish them all! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
PR
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit