Merge pull request #4468 from maspetsberger/fix-buttonset-style
Fix buttonset styling when only a single button is present.pull/4485/head
commit
f1b73c1cf1
|
@ -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…
Reference in New Issue