Corrected border radius of input number

pull/6011/head
Cagatay Civici 2024-07-01 17:07:31 +03:00
parent ab2d6aed52
commit d0b3208ab7
1 changed files with 8 additions and 8 deletions

View File

@ -71,8 +71,8 @@ const theme = ({ dt }) => `
.p-inputnumber-horizontal .p-inputnumber-increment-button {
order: 3;
border-top-right-radius: ${dt('border.radius.md')};
border-bottom-right-radius: ${dt('border.radius.md')};
border-top-right-radius: ${dt('inputnumber.button.border.radius')};
border-bottom-right-radius: ${dt('inputnumber.button.border.radius')};
border-left: 0 none;
}
@ -83,8 +83,8 @@ const theme = ({ dt }) => `
.p-inputnumber-horizontal .p-inputnumber-decrement-button {
order: 1;
border-top-left-radius: ${dt('border.radius.md')};
border-bottom-left-radius: ${dt('border.radius.md')};
border-top-left-radius: ${dt('inputnumber.button.border.radius')};
border-bottom-left-radius: ${dt('inputnumber.button.border.radius')};
border-right: 0 none;
}
@ -107,8 +107,8 @@ const theme = ({ dt }) => `
.p-inputnumber-vertical .p-inputnumber-increment-button {
order: 1;
border-top-left-radius: ${dt('border.radius.md')};
border-top-right-radius: ${dt('border.radius.md')};
border-top-left-radius: ${dt('inputnumber.button.border.radius')};
border-top-right-radius: ${dt('inputnumber.button.border.radius')};
width: 100%;
border-bottom: 0 none;
}
@ -121,8 +121,8 @@ const theme = ({ dt }) => `
.p-inputnumber-vertical .p-inputnumber-decrement-button {
order: 3;
border-bottom-left-radius: ${dt('border.radius.md')};
border-bottom-right-radius: ${dt('border.radius.md')};
border-bottom-left-radius: ${dt('inputnumber.button.border.radius')};
border-bottom-right-radius: ${dt('inputnumber.button.border.radius')};
width: 100%;
border-top: 0 none;
}