Use display: flex
and flex-direction: row-reverse
on p-panel-header class, this will reverse the position of the icons and the tile, then adjust the margin according to your need.
::ng-deep .custom-panel .p-panel-header {
display: flex;
flex-direction: row-reverse;
}
::ng-deep .custom-panel .p-panel-title {
margin-left: auto;
}
::ng-deep .custom-panel .p-panel .p-panel-icons-end {
margin-left: 0;
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.