ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

fix(ui5-*): improve vertical alignment of inline web comps

Open ilhan007 opened this issue 1 month ago • 4 comments

Improve vertical alignment of inline web comps by forcing same vertical-align (vertical-align: middle in this case brought by FormComponents.css).

Before:

Screenshot 2025-11-25 at 16 36 36

After Screenshot 2025-11-25 at 16 33 57

Changes

  • RatingIndicator, Switch, CheckBox, RadioButton, DatePicker, Slider now use vertical-align: middle as the rest of the form components
  • StepInput was the only input element with width: 100% falling on next line, all the rest can stay side by side
  • Text use to behave as a block element, falling on next line, due to its display: -webkit-box; => changed to display: -webkit-inline-box; to behave properly
  • Slider focus placement is fixed. e.g equal space around the handles

before Screenshot 2025-12-02 at 11 03 05 after Screenshot 2025-12-02 at 15 42 33

ilhan007 avatar Nov 25 '25 14:11 ilhan007

🧹 Preview deployment cleaned up: https://pr-12718--ui5-webcomponents.netlify.app

ui5-webcomponents-bot avatar Nov 25 '25 14:11 ui5-webcomponents-bot

Text change looks good to me.

dimovpetar avatar Nov 27 '25 14:11 dimovpetar

CheckBox looks fine :)

kgogov avatar Dec 01 '25 14:12 kgogov

Components on my end look good.

tsanislavgatev avatar Dec 03 '25 10:12 tsanislavgatev

:tada: This PR is included in version v2.18.0-rc.1 :tada:

The release is available on v2.18.0-rc.1

Your semantic-release bot :package::rocket:

ui5-webcomponents-bot avatar Dec 18 '25 08:12 ui5-webcomponents-bot