Skip to content

Commit

Permalink
fix(split-button): outlined split button right border duplication on …
Browse files Browse the repository at this point in the history
…hover
  • Loading branch information
betavs committed Nov 9, 2023
1 parent f21a8a8 commit 729fd2f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions components/lib/splitbutton/SplitButtonBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,17 @@ const styles = `
display: inline-flex;
position: relative;
}
.p-splitbutton .p-splitbutton-defaultbutton,
.p-splitbutton.p-button-rounded > .p-splitbutton-defaultbutton.p-button,
.p-splitbutton.p-button-outlined > .p-splitbutton-defaultbutton.p-button {
.p-splitbutton.p-button-outlined > .p-splitbutton-defaultbutton.p-button,
.p-splitbutton.p-button-outlined > .p-splitbutton-defaultbutton.p-button-outlined.p-button:hover {
flex: 1 1 auto;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-right: 0 none;
}
.p-splitbutton-menubutton,
.p-splitbutton.p-button-rounded > .p-splitbutton-menubutton.p-button,
.p-splitbutton.p-button-outlined > .p-splitbutton-menubutton.p-button {
Expand All @@ -51,11 +52,11 @@ const styles = `
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.p-splitbutton .p-menu {
min-width: 100%;
}
.p-fluid .p-splitbutton {
display: flex;
}
Expand Down

0 comments on commit 729fd2f

Please sign in to comment.