primevue-mirror/components/lib/overlaybadge/style/OverlayBadgeStyle.js

27 lines
420 B
JavaScript
Raw Normal View History

import BaseStyle from 'primevue/base/style';
const theme = ({ dt }) => `
.p-overlaybadge {
position: relative;
}
.p-overlaybadge .p-badge {
position: absolute;
top: 0;
right: 0;
transform: translate(50%, -50%);
transform-origin: 100% 0;
margin: 0;
}
`;
const classes = {
root: 'p-overlaybadge'
};
export default BaseStyle.extend({
name: 'overlaybadge',
theme,
classes
});