Skip to content

Conversation

@nielslyngsoe
Copy link
Member

@nielslyngsoe nielslyngsoe commented May 22, 2025

Fixing the vertical alignment for icons and related, in inputs and table and ref items.

fixing issue originating from here: #972

Copilot AI review requested due to automatic review settings May 22, 2025 08:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the input component to fix vertical alignment issues for prepended icons and similar elements. Key changes include introducing new story scenarios in the story file and adjusting the padding and slot styling in the input element.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
packages/uui-input/lib/uui-input.story.ts Added new story exports to showcase different prepend examples
packages/uui-input/lib/uui-input.element.ts Updated padding values and added flex styling for prepend/append slots

@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-1104.westeurope.azurestaticapps.net

@nielslyngsoe nielslyngsoe enabled auto-merge (squash) May 22, 2025 10:53
@sonarqubecloud
Copy link

@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-1104.westeurope.azurestaticapps.net

@nielslyngsoe nielslyngsoe merged commit 2f5b842 into main May 22, 2025
11 of 12 checks passed
@nielslyngsoe nielslyngsoe deleted the v1/bugfix/input-prepend-icon branch May 22, 2025 12:06
@iOvergaard iOvergaard added the bug Something isn't working label May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants