-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] V-expansion-panels icon position #9698
Comments
You can do this with CSS |
Shame this has been closed; we need this functionality too and the closure comment does not really give sufficient signposting to a workable solution. |
I agree that the closure comment did not have significant sign posting for a workable solution. I did manage to figure out a solution using
|
How about if I need the default chevron icon on the right and a custom icon on the left of the header? |
Never mind - I nested my icon within the v-expansion-panel-header and achieved what I was going for |
I was stuck at the same thing today. There's no documentation about how to shift icons to the left too. |
.v-expansion-panel-header { |
A workaround: https://stackoverflow.com/a/72444901 |
Having to resort to CSS hacks kinda defeats the purpose of using a styled component. At the other end @RoboVij's solution works well (abusing the default slot). I think that workaround could be added to the documentation. |
Problem to solve
We have some designs where the icon is on the left side of the expansion header title.
Proposed solution
An option to place the icon on the left side, just before the header text.
The text was updated successfully, but these errors were encountered: