Skip to content

Commit

Permalink
implementation(PrimeNG-17): #29661 Fix SelectButton issues (#29674)
Browse files Browse the repository at this point in the history
### Proposed Changes
* add the `p-buttonset` rules

### Screenshots
Before: 
<img width="327" alt="image"
src="https://github.com/user-attachments/assets/8dc80802-c974-4876-9288-74c76e302f59">


After: 

<img width="294" alt="image"
src="https://github.com/user-attachments/assets/6eed9fd8-10d4-4ae5-b47a-861a4daff3c4">
  • Loading branch information
hmoreras authored Aug 20, 2024
1 parent efe5c49 commit ff35059
Showing 1 changed file with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,32 @@ a.p-button.p-button-text {
.p-button-rounded {
border-radius: 50%;
}

.p-buttonset {
.p-button {
margin: 0;

&:not(:last-child) {
border-right: 0 none;
}

&:not(:first-of-type):not(:last-of-type) {
border-radius: 0;
}

&:first-of-type {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}

&:last-of-type {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}

&:focus {
position: relative;
z-index: 1;
}
}
}

0 comments on commit ff35059

Please sign in to comment.