Fixed #5214 - Move core alignment styles to theme files

This commit is contained in:
mertsincan 2024-02-05 10:44:41 +00:00
parent e1825987c0
commit 60f08422e6
80 changed files with 0 additions and 5062 deletions

View file

@ -1,33 +1,5 @@
import BaseStyle from 'primevue/base/style';
const css = `
@layer primevue {
.p-inputswitch {
display: inline-block;
}
.p-inputswitch-input {
cursor: pointer;
}
.p-inputswitch-slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
border: 1px solid transparent;
}
.p-inputswitch-slider:before {
position: absolute;
content: '';
top: 50%;
}
}
`;
const inlineStyles = {
root: { position: 'relative' }
};
@ -47,7 +19,6 @@ const classes = {
export default BaseStyle.extend({
name: 'inputswitch',
css,
classes,
inlineStyles
});