mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #5667 - Remove base option from theme config
This commit is contained in:
parent
6d688ef675
commit
0979dde96d
438 changed files with 10872 additions and 11957 deletions
|
@ -1,5 +1,18 @@
|
|||
import BaseStyle from 'primevue/base/style';
|
||||
|
||||
const theme = ({ dt }) => `
|
||||
.p-inputotp {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.p-inputotp-input {
|
||||
text-align: center;
|
||||
width: 2.5rem;
|
||||
}
|
||||
`;
|
||||
|
||||
const classes = {
|
||||
root: 'p-inputotp p-component',
|
||||
input: 'p-inputotp-input'
|
||||
|
@ -7,5 +20,6 @@ const classes = {
|
|||
|
||||
export default BaseStyle.extend({
|
||||
name: 'inputotp',
|
||||
theme,
|
||||
classes
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue