Skip to content

Commit

Permalink
Merge pull request #5265 from betavs/hotfix/split-button-style
Browse files Browse the repository at this point in the history
fix(split-button): outlined split button right border duplication on hover
  • Loading branch information
gucal authored Nov 9, 2023
2 parents f21a8a8 + 729fd2f commit 439f7d2
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 439f7d2

Please sign in to comment.