ButtonSet refactor

pull/310/head
cagataycivici 2020-04-29 19:27:08 +03:00
parent c10451c0f3
commit 18d21ffbce
2 changed files with 22 additions and 4 deletions

View File

@ -27,4 +27,26 @@
visibility: hidden; visibility: hidden;
width: 0; width: 0;
flex: 0 0 auto; flex: 0 0 auto;
}
.p-buttonset .p-button {
margin: 0;
}
.p-buttonset .p-button:not(:first-child):not(:last-child) {
border-radius: 0;
}
.p-buttonset .p-button:first-child {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.p-buttonset .p-button:last-child {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.p-buttonset .p-button:focus {
z-index: 1;
} }

View File

@ -84,10 +84,6 @@ export default {
justify-content: center; justify-content: center;
} }
.p-splitbutton .p-button:focus {
z-index: 1;
}
.p-splitbutton .p-menu { .p-splitbutton .p-menu {
min-width: 100%; min-width: 100%;
} }