Skip to content

Commit

Permalink
Fixed #6820, Fixed #6823
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Nov 21, 2024
1 parent 540a827 commit b266a8a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/themes/src/presets/material/inputgroup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,13 @@ export default {
borderRadius: '{form.field.border.radius}',
padding: '0.75rem',
minWidth: '3rem'
}
},
css: ({ dt }) => `
.p-inputgroup:has(.p-variant-filled) .p-inputgroupaddon {
border-block-start-color: ${dt('inputtext.filled.background')};
border-inline-color: ${dt('inputtext.filled.background')};
background: ${dt('inputtext.filled.background')} no-repeat;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
`
};
20 changes: 20 additions & 0 deletions packages/themes/src/presets/material/inputnumber/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,25 @@ export default {
right: 2px;
height: calc(100% - 4px);
}
.p-inputnumber-horizontal:has(.p-variant-filled) .p-inputnumber-button {
border-block-start-color: ${dt('inputtext.filled.background')};
border-inline-color: ${dt('inputtext.filled.background')};
background: ${dt('inputtext.filled.background')} no-repeat;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.p-inputnumber-vertical:has(.p-variant-filled) .p-inputnumber-button {
border-block-color: ${dt('inputtext.filled.background')};
border-inline-color: ${dt('inputtext.filled.background')};
background: ${dt('inputtext.filled.background')} no-repeat;
}
.p-inputnumber-vertical:has(.p-variant-filled) .p-inputnumber-increment-button {
border-block-end: 1px solid ${dt('inputtext.border.color')}
}
`
};

0 comments on commit b266a8a

Please sign in to comment.