mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Fix buttonset styling when only a single button is present.
This commit is contained in:
parent
98afeacb55
commit
2ff4257421
1 changed files with 2 additions and 2 deletions
|
@ -60,12 +60,12 @@ const buttonStyles = `
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-buttonset .p-button:first-of-type {
|
.p-buttonset .p-button:first-of-type:not(:only-of-type) {
|
||||||
border-top-right-radius: 0;
|
border-top-right-radius: 0;
|
||||||
border-bottom-right-radius: 0;
|
border-bottom-right-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-buttonset .p-button:last-of-type {
|
.p-buttonset .p-button:last-of-type:not(:only-of-type) {
|
||||||
border-top-left-radius: 0;
|
border-top-left-radius: 0;
|
||||||
border-bottom-left-radius: 0;
|
border-bottom-left-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue