Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

fix(view): add props for width and height to x-icon#1969

Open
iamdadmin wants to merge 1 commit intotempestphp:3.x from
iamdadmin:3.x-x-icon-default-sizing
Open

fix(view): add props for width and height to x-icon #1969
iamdadmin wants to merge 1 commit intotempestphp:3.x from
iamdadmin:3.x-x-icon-default-sizing

Conversation

@iamdadmin
Copy link
Contributor

@iamdadmin iamdadmin commented Feb 13, 2026

Closes #1955

  • Add props for width and height to x-icon, and ability to disable it entirely so it can be set in style or class

  • Add prop for style

  • Update docs

  • Update tests

Copy link
Contributor Author

Weird, I thought that checks were set for manual trigger, I know they are going to fail as it stands as the tests aren't finished, hence leaving it in draft. Sorry, had I known they'd run I wouldn't have raised it as a draft until I had clean tests!

@iamdadmin iamdadmin changed the title (削除) fix(view): add props for width and height to x-icon (削除ここまで) (追記) fix(view): add props for width and height to x-icon (追記ここまで) Feb 13, 2026
Copy link
Contributor Author

Ready for review, I'd suggest squashing this commit as prettier which wasn't supposed to run on markdown files, ran on markdown files and really messed up the formatting, so there's some regression commits that are over the top.

@iamdadmin iamdadmin marked this pull request as ready for review February 13, 2026 18:17
Copy link
Member

@brendt brendt left a comment

Choose a reason for hiding this comment

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

Some thoughts I'd like some input on

Copy link
Contributor Author

Since there was a pile of regression commits due to some formatting errors, I rebased, and re-applied the changes to make this a cleaner commit.

Ready for review again, thanks for the feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@brendt brendt brendt requested changes

@innocenzi innocenzi Awaiting requested review from innocenzi innocenzi is a code owner

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

View component x-icon defaults to 1em x 1em and doesn't include method to override this

2 participants

AltStyle によって変換されたページ (->オリジナル) /